glaznev@webrtc.org | bc40324 | 2015-02-10 23:04:13 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | |
| 3 | <RelativeLayout |
| 4 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 | xmlns:tools="http://schemas.android.com/tools" |
| 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent" |
| 8 | android:orientation="vertical"> |
| 9 | |
| 10 | <TextView |
| 11 | android:id="@+id/encoder_stat_call" |
| 12 | android:layout_width="wrap_content" |
| 13 | android:layout_height="wrap_content" |
| 14 | android:layout_alignParentRight="true" |
| 15 | android:textStyle="bold" |
| 16 | android:textColor="#C000FF00" |
| 17 | android:textSize="12dp" |
| 18 | android:layout_margin="8dp"/> |
| 19 | |
| 20 | <TextView |
| 21 | android:id="@+id/contact_name_call" |
| 22 | android:layout_width="wrap_content" |
| 23 | android:layout_height="wrap_content" |
| 24 | android:layout_centerHorizontal="true" |
| 25 | android:layout_above="@+id/buttons_call_container" |
| 26 | android:textSize="24sp" |
| 27 | android:layout_margin="8dp"/> |
| 28 | |
| 29 | <TextView |
| 30 | android:id="@+id/hud_stat_call" |
| 31 | android:layout_width="wrap_content" |
| 32 | android:layout_height="wrap_content" |
| 33 | android:alpha="0.4" |
| 34 | android:background="@android:color/white" |
| 35 | android:textColor="@android:color/black" /> |
| 36 | |
| 37 | <ImageButton |
| 38 | android:id="@+id/button_toggle_debug" |
| 39 | android:background="@android:drawable/ic_menu_info_details" |
| 40 | android:contentDescription="@string/toggle_debug" |
| 41 | android:layout_alignParentBottom="true" |
| 42 | android:layout_alignParentLeft="true" |
| 43 | android:layout_width="48dp" |
| 44 | android:layout_height="48dp"/> |
| 45 | |
| 46 | <LinearLayout |
| 47 | android:id="@+id/buttons_call_container" |
| 48 | android:orientation="horizontal" |
| 49 | android:layout_alignParentBottom="true" |
| 50 | android:layout_marginBottom="32dp" |
| 51 | android:layout_centerHorizontal="true" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content"> |
| 54 | |
| 55 | <ImageButton |
| 56 | android:id="@+id/button_call_disconnect" |
| 57 | android:background="@drawable/disconnect" |
| 58 | android:contentDescription="@string/disconnect_call" |
| 59 | android:layout_marginRight="16dp" |
| 60 | android:layout_width="48dp" |
| 61 | android:layout_height="48dp"/> |
| 62 | |
| 63 | <ImageButton |
| 64 | android:id="@+id/button_call_switch_camera" |
| 65 | android:background="@android:drawable/ic_menu_camera" |
| 66 | android:contentDescription="@string/switch_camera" |
| 67 | android:layout_marginRight="8dp" |
| 68 | android:layout_width="48dp" |
| 69 | android:layout_height="48dp"/> |
| 70 | |
| 71 | <ImageButton |
| 72 | android:id="@+id/button_call_scaling_mode" |
| 73 | android:background="@drawable/ic_action_return_from_full_screen" |
| 74 | android:contentDescription="@string/disconnect_call" |
| 75 | android:layout_width="48dp" |
| 76 | android:layout_height="48dp"/> |
| 77 | </LinearLayout> |
| 78 | |
| 79 | </RelativeLayout> |