Sfoglia il codice sorgente

Merge pull request #110 from the-mx-group/android_menu_width

[Android] Allow menu width to adjust to content
Guy Carmeli 8 anni fa
parent
commit
0777d8764c

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

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

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

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