| <?xml version="1.0" encoding="utf-8"?> |
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" > |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentTop="true" |
| android:orientation="vertical" > |
| |
| <TextView |
| android:id="@+id/textView1" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_margin="10dp" |
| android:text="Incoming call" |
| android:textAppearance="?android:attr/textAppearanceMedium" /> |
| |
| <TextView |
| android:id="@+id/contact_name_txt" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_alignParentLeft="true" |
| android:layout_below="@+id/textView1" |
| android:layout_margin="10dp" |
| android:layout_marginTop="76dp" |
| android:text="Caller Name" |
| android:textAppearance="?android:attr/textAppearanceLarge" /> |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_alignParentBottom="true" |
| android:orientation="horizontal" > |
| |
| <Button |
| android:id="@+id/decline_btn" |
| android:layout_width="wrap_content" |
| android:layout_height="120dp" |
| android:layout_margin="10dp" |
| android:layout_weight="1" |
| android:background="@drawable/hangup_button" |
| android:text="Decline" /> |
| |
| <Button |
| android:id="@+id/accept_btn" |
| android:layout_width="wrap_content" |
| android:layout_height="120dp" |
| android:layout_margin="10dp" |
| android:layout_weight="1" |
| android:background="@drawable/call_button" |
| android:text="Accept" /> |
| </LinearLayout> |
| |
| </RelativeLayout> |