Partial XML code - Animation


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="#000000">
  
<TextView  
  android:layout_width="fill_parent" 
  android:layout_height="wrap_content"
  android:id="@+id/text1" 
  android:text="Your Name"
  android:gravity="center"
  android:textColor="#FFFFFF"
  android:layout_marginTop="10dp"
  android:textSize="20sp"
  android:textStyle="bold" />
    
<View 
  android:layout_width="fill_parent" 
  android:layout_marginTop="10dp"
  android:layout_height="2dp"
  android:background="#FFFFFF"/>

<ImageView
  android:layout_width="wrap_content"
  android:layout_height="150dp"
  android:id="@+id/image1"
  android:src="@drawable/tomato" 
  android:contentDescription="Image Description"
  android:layout_marginTop="10dp"  
  android:layout_gravity="center" />

</LinearLayout>