1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-27 06:41:15 +00:00

Let the framework handle width of the drawer view.

This commit is contained in:
George Venios 2015-09-01 19:49:49 +03:00 committed by George Venios
parent 424355fff1
commit e3aa7086c5

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout" android:id="@+id/drawer_layout"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -10,13 +9,11 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent" />
<LinearLayout <FrameLayout
android:id="@+id/drawer" android:id="@+id/drawer"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_gravity="start"
android:layout_width="240dip"
android:layout_height="match_parent" android:layout_height="match_parent"
android:clickable="true" android:layout_gravity="start"
android:background="@android:color/background_light" /> android:background="?android:windowBackground"
android:clickable="true" />
</android.support.v4.widget.DrawerLayout> </android.support.v4.widget.DrawerLayout>