Android animation z-index -
i'm using relative layout, , have following items inside of them
<foo android:id="@+id/first_one" > <bar android:id="@+id/second_one" android:layout_below="@+id/first_one" > i want start animation on bar should z-indexed behind foo. thing in order that, need declare foo after bar. can't that, because since bar supposed below foo throws null pointer exception.
any ideas?
relativelayout has many possibilities. try this:
<bar android:id="@+id/second_one"> <foo android:id="@+id/first_one" android:layout_above="@+id/second_one">
Comments
Post a Comment