The situation with LinearLayout is pretty flaky.  I finally made the project 
work - see the second attached project at 

https://code.google.com/p/android/issues/detail?id=55106


If you go to item_main.xml and change android:textIsSelectable from *false* to 
*true*, the bug shows up.
Keep android:textIsSelectable="true", but remove android:id="@+id/text" - the 
bug disappears again


The main reason I was experimenting with this LinearLayout is because I wanted 
to follow thy layout animation sample.

file:///Users/yuri/Development/adt-bundle-mac-x86_64-20130219/sdk/docs/training/animation/layout.html


But it seems the situation is so unstable with LinearLayout and orientation 
change that I need to go back to the working ListView+Adapter approach and 
figure out how to do similar layout animations when adding items to the adapter 
and revalidating the list.  I would appreciate it a lot if somebody could share 
their experiences with layout animation while using ListView + Adapter 
approach.  Thank you!

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to