فهرست منبع

0.0.50.beta28.pre
- 修复 BottomMenu 布局存在的问题

Kongzue 3 ماه پیش
والد
کامیت
b56ce7d54b

+ 1 - 0
DialogX/src/main/res/layout/layout_dialogx_bottom_material.xml

@@ -86,6 +86,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />
 

+ 1 - 0
DialogX/src/main/res/layout/layout_dialogx_bottom_material_dark.xml

@@ -86,6 +86,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXIOSStyle/src/main/res/layout/layout_dialogx_bottom_ios.xml

@@ -101,6 +101,7 @@
 
                         <FrameLayout
                             android:id="@+id/box_list"
+                            android:layout_weight="1"
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXIOSStyle/src/main/res/layout/layout_dialogx_bottom_ios_dark.xml

@@ -102,6 +102,7 @@
 
                         <FrameLayout
                             android:id="@+id/box_list"
+                            android:layout_weight="1"
                             android:layout_width="match_parent"
                             android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXKongzueStyle/src/main/res/layout/layout_dialogx_bottom_kongzue.xml

@@ -85,6 +85,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXKongzueStyle/src/main/res/layout/layout_dialogx_bottom_kongzue_dark.xml

@@ -85,6 +85,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXMIUIStyle/src/main/res/layout/layout_dialogx_bottom_miui.xml

@@ -82,6 +82,7 @@
                     android:id="@+id/box_list"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
+                    android:layout_weight="1"
                     android:layout_marginTop="10dp"
                     android:layout_marginBottom="10dp"
                     android:visibility="gone" />

+ 9 - 8
DialogXMIUIStyle/src/main/res/layout/layout_dialogx_bottom_miui_dark.xml

@@ -76,16 +76,17 @@
 
                     </LinearLayout>
 
-                    <FrameLayout
-                        android:id="@+id/box_list"
-                        android:layout_width="match_parent"
-                        android:layout_height="wrap_content"
-                        android:layout_marginTop="10dp"
-                        android:layout_marginBottom="10dp"
-                        android:visibility="gone" />
-
                 </com.kongzue.dialogx.util.views.DialogScrollView>
 
+                <FrameLayout
+                    android:id="@+id/box_list"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginTop="10dp"
+                    android:layout_marginBottom="10dp"
+                    android:layout_weight="1"
+                    android:visibility="gone" />
+
                 <LinearLayout
                     android:id="@+id/box_button"
                     android:layout_width="match_parent"

+ 1 - 0
DialogXMaterialYou/src/main/res/layout/layout_dialogx_bottom_material_you.xml

@@ -88,6 +88,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />
 

+ 1 - 0
DialogXMaterialYou/src/main/res/layout/layout_dialogx_bottom_material_you_dark.xml

@@ -88,6 +88,7 @@
 
                 <FrameLayout
                     android:id="@+id/box_list"
+                    android:layout_weight="1"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content" />