Ver código fonte

Remove unused dimen values

arkon 4 anos atrás
pai
commit
6bc6e1a1d1

+ 3 - 15
app/src/main/res/values/dimens.xml

@@ -1,26 +1,14 @@
 <resources>
-    <!-- Default screen margins, per the Android Design guidelines. -->
     <dimen name="activity_horizontal_margin">16dp</dimen>
     <dimen name="activity_vertical_margin">16dp</dimen>
-    <dimen name="margin_top">16dp</dimen>
-    <dimen name="margin_bottom">16dp</dimen>
-    <dimen name="margin_left">16dp</dimen>
-    <dimen name="margin_right">16dp</dimen>
+
+    <dimen name="bottom_sheet_width">0dp</dimen>
+
     <dimen name="space_between_cards">4dp</dimen>
     <dimen name="card_radius">4dp</dimen>
 
     <dimen name="fab_size">56dp</dimen>
-    <dimen name="fab_margin">16dp</dimen>
     <dimen name="fab_list_padding">88dp</dimen>
 
     <dimen name="action_toolbar_list_padding">72dp</dimen>
-
-    <dimen name="text_headline">24sp</dimen>
-    <dimen name="text_large_title">22sp</dimen>
-    <dimen name="text_title">20sp</dimen>
-    <dimen name="text_large_body">18sp</dimen>
-    <dimen name="text_body">16sp</dimen>
-    <dimen name="text_small_body">14sp</dimen>
-
-    <dimen name="bottom_sheet_width">0dp</dimen>
 </resources>

+ 1 - 1
app/src/main/res/values/styles.xml

@@ -142,7 +142,7 @@
         <item name="fabCustomSize">@dimen/fab_size</item>
         <item name="android:minWidth">@dimen/fab_size</item>
         <item name="android:layout_gravity">bottom|end</item>
-        <item name="android:layout_margin">@dimen/fab_margin</item>
+        <item name="android:layout_margin">16dp</item>
         <item name="android:scaleType">fitCenter</item>
         <item name="layout_anchorGravity">bottom|right|end</item>
         <item name="android:fontFamily">sans-serif-medium</item>