Aidan Follestad 10 роки тому
батько
коміт
5e9a3c266e

+ 3 - 3
library/src/main/res/layout/material_dialog.xml

@@ -11,7 +11,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_marginTop="@dimen/dialog_frame_margin"
-        android:layout_marginBottom="@dimen/title_frame_margin"
+        android:layout_marginBottom="@dimen/main_frame_margin"
         android:layout_marginLeft="@dimen/dialog_frame_margin"
         android:layout_marginRight="@dimen/dialog_frame_margin">
 
@@ -19,7 +19,7 @@
             android:id="@+id/title"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:layout_marginBottom="@dimen/title_frame_margin"
+            android:layout_marginBottom="@dimen/main_frame_margin"
             android:textSize="@dimen/title_textsize"
             tools:text="Title"
             android:lineSpacingMultiplier="1.2" />
@@ -59,7 +59,7 @@
                     android:id="@+id/titleCustomView"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
-                    android:layout_marginBottom="@dimen/title_frame_margin"
+                    android:layout_marginBottom="@dimen/dialog_frame_margin"
                     android:textSize="@dimen/title_textsize"
                     tools:text="Title" />
 

+ 1 - 1
library/src/main/res/values/dimens.xml

@@ -4,7 +4,7 @@
     <!-- See http://www.google.com/design/spec/components/dialogs.html#dialogs-specs -->
 
     <dimen name="dialog_frame_margin">24dp</dimen>
-    <dimen name="title_frame_margin">16dp</dimen>
+    <dimen name="main_frame_margin">16dp</dimen>
     <dimen name="button_min_width">64dp</dimen>
 
     <!-- Above and below buttons, 36+12=48 for the height of the button frame -->