summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml')
-rw-r--r--third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml77
1 files changed, 77 insertions, 0 deletions
diff --git a/third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml b/third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml
new file mode 100644
index 0000000000..90b1e9ca0e
--- /dev/null
+++ b/third_party/libwebrtc/examples/androidapp/res/layout/fragment_call.xml
@@ -0,0 +1,77 @@
+<?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">
+
+ <TextView
+ android:id="@+id/contact_name_call"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_above="@+id/buttons_call_container"
+ android:textSize="24sp"
+ android:layout_margin="8dp"/>
+
+ <LinearLayout
+ android:id="@+id/buttons_call_container"
+ android:orientation="horizontal"
+ android:layout_above="@+id/capture_format_text_call"
+ android:layout_alignWithParentIfMissing="true"
+ android:layout_marginBottom="32dp"
+ android:layout_centerHorizontal="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <ImageButton
+ android:id="@+id/button_call_disconnect"
+ android:background="@drawable/disconnect"
+ android:contentDescription="@string/disconnect_call"
+ android:layout_marginEnd="16dp"
+ android:layout_width="48dp"
+ android:layout_height="48dp"/>
+
+ <ImageButton
+ android:id="@+id/button_call_switch_camera"
+ android:background="@android:drawable/ic_menu_camera"
+ android:contentDescription="@string/switch_camera"
+ android:layout_marginEnd="8dp"
+ android:layout_width="48dp"
+ android:layout_height="48dp"/>
+
+ <ImageButton
+ android:id="@+id/button_call_scaling_mode"
+ android:background="@drawable/ic_action_return_from_full_screen"
+ android:contentDescription="@string/disconnect_call"
+ android:layout_width="48dp"
+ android:layout_height="48dp"/>
+
+ <ImageButton
+ android:id="@+id/button_call_toggle_mic"
+ android:background="@android:drawable/ic_btn_speak_now"
+ android:contentDescription="@string/toggle_mic"
+ android:layout_marginEnd="8dp"
+ android:layout_width="48dp"
+ android:layout_height="48dp"/>
+ </LinearLayout>
+
+ <TextView
+ android:id="@+id/capture_format_text_call"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_above="@+id/capture_format_slider_call"
+ android:textSize="16sp"
+ android:text="@string/capture_format_change_text"/>
+
+ <SeekBar
+ android:id="@+id/capture_format_slider_call"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentBottom="true"
+ android:progress="50"
+ android:layout_margin="8dp"/>
+
+</RelativeLayout>