Browse Source

Allow menu width to adjust to content

Jason Skuby 8 years ago
parent
commit
6de444706e

+ 1
- 1
android/app/src/main/res/layout/bottom_tab_activity.xml View File

35
 
35
 
36
         <FrameLayout
36
         <FrameLayout
37
             android:id="@+id/drawerFrame"
37
             android:id="@+id/drawerFrame"
38
-            android:layout_width="240dp"
38
+            android:layout_width="wrap_content"
39
             android:layout_height="match_parent"
39
             android:layout_height="match_parent"
40
             android:layout_gravity="start" />
40
             android:layout_gravity="start" />
41
     </android.support.v4.widget.DrawerLayout>
41
     </android.support.v4.widget.DrawerLayout>

+ 1
- 1
android/app/src/main/res/layout/single_screen_activity.xml View File

30
 
30
 
31
         <FrameLayout
31
         <FrameLayout
32
             android:id="@+id/drawerFrame"
32
             android:id="@+id/drawerFrame"
33
-            android:layout_width="240dp"
33
+            android:layout_width="wrap_content"
34
             android:layout_height="match_parent"
34
             android:layout_height="match_parent"
35
             android:layout_gravity="start" />
35
             android:layout_gravity="start" />
36
     </android.support.v4.widget.DrawerLayout>
36
     </android.support.v4.widget.DrawerLayout>