alision | 8599211 | 2013-05-29 12:18:08 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" |
| 5 | android:background="@drawable/item_call_selector" > |
| 6 | |
| 7 | <TextView |
| 8 | android:id="@+id/call_title" |
| 9 | android:layout_width="wrap_content" |
| 10 | android:layout_height="wrap_content" |
| 11 | android:layout_alignParentLeft="true" |
| 12 | android:layout_alignParentTop="true" |
| 13 | android:layout_margin="15dp" |
| 14 | android:text="Large Text" |
| 15 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 16 | |
| 17 | <Button |
| 18 | android:id="@+id/hangup_button" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:layout_alignBaseline="@+id/call_title" |
| 22 | android:layout_alignBottom="@+id/call_title" |
| 23 | android:layout_marginLeft="34dp" |
| 24 | android:layout_toRightOf="@+id/call_title" |
| 25 | android:focusable="false" |
| 26 | android:focusableInTouchMode="false" |
| 27 | android:text="HangUp" /> |
| 28 | |
| 29 | <TextView |
| 30 | android:id="@+id/call_status" |
| 31 | android:layout_width="wrap_content" |
| 32 | android:layout_height="wrap_content" |
| 33 | android:layout_alignParentLeft="true" |
| 34 | android:layout_below="@+id/hangup_button" |
| 35 | android:text="Medium Text" |
| 36 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 37 | |
| 38 | <ToggleButton |
| 39 | android:id="@+id/hold_switch" |
| 40 | android:layout_width="wrap_content" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_alignBaseline="@+id/hangup_button" |
| 43 | android:layout_alignBottom="@+id/hangup_button" |
| 44 | android:layout_alignParentRight="true" |
| 45 | android:focusable="false" |
| 46 | android:focusableInTouchMode="false" |
| 47 | android:textOff="Hold" |
| 48 | android:textOn="Unhold" /> |
| 49 | |
| 50 | </RelativeLayout> |