mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 22:31:16 +00:00
Let the framework handle width of the drawer view.
This commit is contained in:
parent
424355fff1
commit
e3aa7086c5
1 changed files with 5 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/drawer_layout"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -10,13 +9,11 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<LinearLayout
|
||||
<FrameLayout
|
||||
android:id="@+id/drawer"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="start"
|
||||
android:layout_width="240dip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clickable="true"
|
||||
android:background="@android:color/background_light" />
|
||||
|
||||
android:layout_gravity="start"
|
||||
android:background="?android:windowBackground"
|
||||
android:clickable="true" />
|
||||
</android.support.v4.widget.DrawerLayout>
|
||||
|
|
Loading…
Reference in a new issue