2014-10-22 19:43:37 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
tools:context="org.appspot.apprtc.AppRTCDemoActivity$MenuBarFragment"
|
|
|
|
android:id="@+id/menubar"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical|center_horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_disconnect"
|
|
|
|
android:background="@drawable/disconnect"
|
|
|
|
android:contentDescription="@string/disconnect_call"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:layout_marginRight="16dp"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
|
|
|
|
<!-- TODO(kjellander): Add audio and video mute buttons. -->
|
|
|
|
|
2014-10-29 09:10:03 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_switch_camera"
|
|
|
|
android:background="@android:drawable/ic_menu_camera"
|
|
|
|
android:contentDescription="@string/switch_camera"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:layout_marginRight="8dp"
|
2014-10-29 09:10:03 +01:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
|
2014-10-22 19:43:37 +02:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_toggle_debug"
|
|
|
|
android:background="@android:drawable/ic_menu_info_details"
|
|
|
|
android:contentDescription="@string/disconnect_call"
|
2014-11-03 23:18:52 +01:00
|
|
|
android:layout_marginRight="8dp"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_scaling_mode"
|
|
|
|
android:background="@drawable/ic_action_return_from_full_screen"
|
|
|
|
android:contentDescription="@string/disconnect_call"
|
2014-10-22 19:43:37 +02:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|