7bb4a9881d
from https://github.com/hkjellander/AppRTCDemo. Description of changes: - Add connect screen with an option to enter room number or select loopback mode. - Add 'hangup' and 'WebRTC statistics' buttons to AppRTCDemo activity. BUG=3938 R=kjellander@webrtc.org, pbos@webrtc.org, pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/28749004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7500 4adac7df-926f-26a2-2b94-8c16560cd09d
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<android.opengl.GLSurfaceView
|
|
android:id="@+id/glview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/room_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_above="@+id/menubar_fragment"
|
|
android:textSize="24sp"
|
|
android:layout_margin="8dp"/>
|
|
<fragment
|
|
android:name="org.appspot.apprtc.AppRTCDemoActivity$MenuBarFragment"
|
|
android:id="@+id/menubar_fragment"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginBottom="32dp"
|
|
tools:layout="@layout/fragment_menubar"/>
|
|
|
|
</RelativeLayout>
|