hi
FrameLayout contains 2 views.
frameLayout.add(view1);
frameLayout.add(view2);

view2 extends GLSurfaceView. view2 is curling page (like a page in a
book), when user is curling page view2 view1 should appears under
view2 (like next page in a book). view2 - current page, view1 - next
page.
There is problem. Sometimes view1 appears on the screen before view2
on a very short period of time and then view2 appears, it looks like a
blink. Sometimes when user is curling view2 view1 has not yet been
drawn and appears after some period of time, it looks like delay.
If I understand correctly sometimes firstly android draws view1, and
sometimes firstly android draws view2. How can I solve this problem?
Layout should appears only when view2 has been drawn and view1 should
appears immediately after user starts curling view2

Also I have a suspicious that android starts drawing view1 only when
user starts curling view2 because of view1 appears on the screen. but
if view1 is complex view with a lot of custom elements it will take a
time to draw it, as result delay...
Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to