|
@@ -43,7 +43,12 @@ public class CollapsingSingleScreen extends SingleScreen {
|
43
|
43
|
contentView = new CollapsingContentView(getContext(), screenParams.screenId, screenParams.navigationParams);
|
44
|
44
|
setViewMeasurer();
|
45
|
45
|
setupCollapseDetection((CollapsingTopBar) topBar);
|
46
|
|
- addView(contentView, createLayoutParams());
|
|
46
|
+ post(new Runnable() {
|
|
47
|
+ @Override
|
|
48
|
+ public void run() {
|
|
49
|
+ addView(contentView, createLayoutParams());
|
|
50
|
+ }
|
|
51
|
+ });
|
47
|
52
|
}
|
48
|
53
|
|
49
|
54
|
private void setViewMeasurer() {
|