| OLD | NEW |
| 1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
| 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 |
| 3 xmlns:tools="http://schemas.android.com/tools" | 3 <android.support.v4.widget.DrawerLayout |
| 4 android:id="@+id/mainLayout" | 4 xmlns:android="http://schemas.android.com/apk/res/android" |
| 5 android:orientation="vertical" | 5 android:id="@+id/drawerLayout" |
| 6 android:layout_width="match_parent" | 6 android:layout_width="match_parent" |
| 7 android:layout_height="match_parent" | 7 android:layout_height="match_parent"> |
| 8 tools:context=".ViewerActivity"> | 8 <!-- The main content view --> |
| 9 | 9 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 10 <SurfaceView | 10 xmlns:tools="http://schemas.android.com/tools" |
| 11 android:id="@+id/surfaceView" | 11 android:id="@+id/mainLayout" |
| 12 android:orientation="vertical" |
| 12 android:layout_width="match_parent" | 13 android:layout_width="match_parent" |
| 13 android:layout_height="match_parent" | 14 android:layout_height="match_parent" |
| 14 android:layout_centerVertical="true" | 15 tools:context=".ViewerActivity"> |
| 15 android:layout_centerHorizontal="true" /> | |
| 16 | 16 |
| 17 </LinearLayout> | 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 |
| OLD | NEW |