Layout changes animations Android -
Layout changes animations Android -
i have relativelayout
has nested empty framelayout
, listview
below framelayout
. adding view framelayout
animation (setting android:animatelayoutchanges="true" in xml) , doing because want appear @ top of window. appears default fade in animation. listview on other hand moves down, not animated. can listview slide downwards position, because not looking. if have alter way define views in layout, that's ok also. consider every suggestion. thx
here code:
<relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <framelayout android:id="@+id/frame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:animatelayoutchanges="true"></framelayout> <listview android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@+id/frame" /> </relativelayout>
android animation layout transition
Comments
Post a Comment