58edb83fd4
Android AppRTCDemo UI. BUG=4045 R=jiayl@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25229004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7747 4adac7df-926f-26a2-2b94-8c16560cd09d
43 lines
1.5 KiB
XML
43 lines
1.5 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/encoder_stat"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:textStyle="bold"
|
|
android:textColor="#800000FF"
|
|
android:textSize="12dp"
|
|
android:layout_margin="8dp"/>
|
|
<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>
|