| Index: platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml
|
| diff --git a/platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml b/platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml
|
| index 985b67d085f1ac59fa3a9e3731b0e6d106ac3021..7041d0e8edc9406b5f3ef4f0702c9a02b5614aed 100644
|
| --- a/platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml
|
| +++ b/platform_tools/android/apps/viewer/src/main/res/layout/activity_main.xml
|
| @@ -6,22 +6,37 @@
|
| android:layout_width="match_parent"
|
| android:layout_height="match_parent">
|
| <!-- The main content view -->
|
| - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| - xmlns:tools="http://schemas.android.com/tools"
|
| - android:id="@+id/mainLayout"
|
| - android:orientation="vertical"
|
| + <RelativeLayout
|
| android:layout_width="match_parent"
|
| - android:layout_height="match_parent"
|
| - tools:context=".ViewerActivity">
|
| + android:layout_height="match_parent">
|
|
|
| - <SurfaceView
|
| - android:id="@+id/surfaceView"
|
| + <!-- We use mainLayout for recreating SurfaceView -->
|
| + <LinearLayout
|
| + android:id="@+id/mainLayout"
|
| android:layout_width="match_parent"
|
| - android:layout_height="match_parent"
|
| - android:layout_centerVertical="true"
|
| - android:layout_centerHorizontal="true" />
|
| + android:layout_height="match_parent">
|
| + <SurfaceView
|
| + android:id="@+id/surfaceView"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent"
|
| + android:layout_centerVertical="true"
|
| + android:layout_centerHorizontal="true" />
|
| + </LinearLayout>
|
| +
|
| + <TextView
|
| + android:layout_width="100dp"
|
| + android:layout_height="wrap_content"
|
| + android:layout_margin="10dp"
|
| + android:padding="10dp"
|
| + android:background="@android:color/holo_blue_dark"
|
| + android:textColor="@android:color/white"
|
| + android:text=" 100.000ms"
|
| + android:id="@+id/fpsFloatText"
|
| + android:visibility="invisible"
|
| + android:layout_alignParentBottom="true"
|
| + android:layout_alignParentEnd="true" />
|
|
|
| - </LinearLayout>
|
| + </RelativeLayout>
|
|
|
| <!-- The navigation drawer -->
|
| <ListView android:id="@+id/leftDrawer"
|
|
|