liyuqian | 796c5bb | 2016-05-09 08:49:29 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
kjlubick | 9ad0949 | 2016-05-27 06:22:01 -0700 | [diff] [blame] | 2 | |
liyuqian | e5a6cd9 | 2016-05-27 08:52:52 -0700 | [diff] [blame^] | 3 | <android.support.v4.widget.DrawerLayout |
| 4 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 | android:id="@+id/drawerLayout" |
| 6 | android:layout_width="match_parent" |
| 7 | android:layout_height="match_parent"> |
| 8 | <!-- The main content view --> |
| 9 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 10 | xmlns:tools="http://schemas.android.com/tools" |
| 11 | android:id="@+id/mainLayout" |
| 12 | android:orientation="vertical" |
liyuqian | 796c5bb | 2016-05-09 08:49:29 -0700 | [diff] [blame] | 13 | android:layout_width="match_parent" |
| 14 | android:layout_height="match_parent" |
liyuqian | e5a6cd9 | 2016-05-27 08:52:52 -0700 | [diff] [blame^] | 15 | tools:context=".ViewerActivity"> |
liyuqian | 796c5bb | 2016-05-09 08:49:29 -0700 | [diff] [blame] | 16 | |
liyuqian | e5a6cd9 | 2016-05-27 08:52:52 -0700 | [diff] [blame^] | 17 | <SurfaceView |
| 18 | android:id="@+id/surfaceView" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent" |
| 21 | android:layout_centerVertical="true" |
| 22 | android:layout_centerHorizontal="true" /> |
| 23 | |
| 24 | </LinearLayout> |
| 25 | |
| 26 | <!-- The navigation drawer --> |
| 27 | <ListView android:id="@+id/leftDrawer" |
| 28 | android:layout_width="240dp" |
| 29 | android:layout_height="match_parent" |
| 30 | android:layout_gravity="start" |
| 31 | android:choiceMode="singleChoice" |
| 32 | android:divider="@android:color/transparent" |
| 33 | android:dividerHeight="0dp" |
| 34 | android:background="@android:color/background_light"/> |
| 35 | </android.support.v4.widget.DrawerLayout> |
| 36 | |