Procházet zdrojové kódy

Fix mininmum width for buttons

64dp from material specs, the old value was for the inner view, which excluded
the padding
Kevin Barry před 10 roky
rodič
revize
071c3071d3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      library/src/main/res/values/dimens.xml

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

@@ -39,7 +39,7 @@
 
     <dimen name="md_content_padding_top">8dp</dimen>
 
-    <dimen name="md_button_min_width">42dp</dimen>
+    <dimen name="md_button_min_width">64dp</dimen>
     <!-- Above and below buttons, 36+6+6=48 for the height of the button frame -->
     <dimen name="md_button_inset_vertical">6dp</dimen>
     <dimen name="md_button_inset_horizontal">4dp</dimen>