- #1
whitehorsey
- 192
- 0
I am creating a border for an image view using xml. This is what I have:
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:duration="200">
<shape
android:shape="rectangle" >
<stroke
android:width="5dp"
android:color="#FF0000" />
<solid android:color="#000099" />
</shape>
</item>
</animation-list>
The border shows up but it stays with the imageview and does not disappear. I want it to disappear after 2 seconds. What is wrong?
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:duration="200">
<shape
android:shape="rectangle" >
<stroke
android:width="5dp"
android:color="#FF0000" />
<solid android:color="#000099" />
</shape>
</item>
</animation-list>
The border shows up but it stays with the imageview and does not disappear. I want it to disappear after 2 seconds. What is wrong?
Last edited by a moderator: