Reduce shortcut text size and spacing

pull/996/head
Alex Baker 5 years ago
parent 6bb0ac3e01
commit d96ecd205a

@ -8,8 +8,8 @@
android:id="@+id/date_group"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:layout_marginTop="@dimen/half_keyline_first"
android:layout_marginBottom="@dimen/half_keyline_first"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintRight_toLeftOf="@id/guideline"
@ -83,8 +83,8 @@
android:id="@+id/time_group"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp"
android:layout_marginTop="@dimen/half_keyline_first"
android:layout_marginBottom="@dimen/half_keyline_first"
android:orientation="vertical"
app:layout_constraintLeft_toRightOf="@id/guideline"
app:layout_constraintEnd_toEndOf="parent"

@ -2,6 +2,7 @@
<resources>
<dimen name="navigation_drawer_width">260dp</dimen>
<dimen name="half_keyline_first">8dp</dimen>
<dimen name="quarter_keyline_first">4dp</dimen>
<dimen name="keyline_first">16dp</dimen>
<dimen name="keyline_second">32dp</dimen>
<dimen name="keyline_content_inset">72dp</dimen>

@ -94,9 +94,8 @@
<style name="DateTimeShortcuts" parent="Widget.MaterialComponents.Button.TextButton">
<item name="android:textColor">@color/button_accent_text</item>
<item name="android:textAppearance">@style/TextAppearance.MaterialComponents.Body1</item>
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:textSize">18sp</item>
<item name="android:paddingTop">@dimen/quarter_keyline_first</item>
<item name="android:paddingBottom">@dimen/quarter_keyline_first</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="iconPadding">@dimen/keyline_first</item>

Loading…
Cancel
Save