5f38c8d1b8
- Add a room list to ConnectActivity with buttons to add/remove rooms. - Add loopback call button. - Add option to toggle full screen / letterbox video. - Add camera fps settings. - Fix device to landscape orientation for HD video until issue 3936 will be fixed. - Fix a few crashes by avoiding calling peer connection and GAE signaling function while connection is closing. - Better handling GAE channel error - catch channel exceptions and display dialog with error messages. BUG=3939, 3935 R=kjellander@webrtc.org, pthatcher@webrtc.org, tkchin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26979004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7601 4adac7df-926f-26a2-2b94-8c16560cd09d
46 lines
1.7 KiB
XML
46 lines
1.7 KiB
XML
<?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"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"/>
|
|
|
|
<!-- TODO(kjellander): Add audio and video mute buttons. -->
|
|
|
|
<ImageButton
|
|
android:id="@+id/button_switch_camera"
|
|
android:background="@android:drawable/ic_menu_camera"
|
|
android:contentDescription="@string/switch_camera"
|
|
android:layout_marginRight="8dp"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/button_toggle_debug"
|
|
android:background="@android:drawable/ic_menu_info_details"
|
|
android:contentDescription="@string/disconnect_call"
|
|
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"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"/>
|
|
|
|
</LinearLayout>
|