diff options
-rw-r--r-- | android/source/res/layout/activity_document_browser.xml | 47 |
1 files changed, 27 insertions, 20 deletions
diff --git a/android/source/res/layout/activity_document_browser.xml b/android/source/res/layout/activity_document_browser.xml index f54591b35ef4..297dba1558e6 100644 --- a/android/source/res/layout/activity_document_browser.xml +++ b/android/source/res/layout/activity_document_browser.xml @@ -6,31 +6,38 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --> -<android.support.v4.widget.DrawerLayout +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:orientation="vertical" > - <!-- The content --> - <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/browser_main_content" + <!-- The toolbar --> + <include layout="@layout/toolbar" /> + + <android.support.v4.widget.DrawerLayout + android:id="@+id/drawer_layout" android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > + android:layout_height="match_parent"> - <include layout="@layout/toolbar"/> + <!-- The content --> - </LinearLayout> + <LinearLayout + android:id="@+id/browser_main_content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" /> - <!-- The navigation drawer --> - <ListView android:id="@+id/left_drawer" - android:layout_width="240dp" - android:layout_height="match_parent" - android:layout_gravity="start" - android:choiceMode="singleChoice" - android:divider="@android:color/transparent" - android:dividerHeight="0dp" - android:background="#111"/> + <!-- The navigation drawer --> + <ListView + android:id="@+id/left_drawer" + android:layout_width="240dp" + android:layout_height="match_parent" + android:layout_gravity="start" + android:background="#111" + android:choiceMode="singleChoice" + android:divider="@android:color/transparent" + android:dividerHeight="0dp" /> -</android.support.v4.widget.DrawerLayout> + </android.support.v4.widget.DrawerLayout> +</LinearLayout> |