Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ac24f2c authored by Mill Chen's avatar Mill Chen
Browse files

Refine the conditionals layout

1. Add the minWidth for a button in the condition full tile and adjust
the start margin of the button.
2. Decrease the start padding of the conditional header layout.

Bug: 113451905
Test: visual
Change-Id: I4864730b35154c0bd4b0a806815aa912b19ca3d7
parent 58ae3857
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -354,7 +354,7 @@
    <dimen name="homepage_condition_full_card_padding_bottom">12dp</dimen>
    <dimen name="homepage_condition_header_padding_top">10dp</dimen>
    <dimen name="homepage_condition_header_padding_bottom">10dp</dimen>
    <dimen name="homepage_condition_header_icons_margin_start">24dp</dimen>
    <dimen name="homepage_condition_header_icons_margin_start">16dp</dimen>
    <dimen name="homepage_condition_header_indicator_padding_top">4dp</dimen>
    <dimen name="homepage_condition_header_indicator_padding_start">16dp</dimen>
    <dimen name="homepage_condition_header_indicator_padding_end">16dp</dimen>
+2 −1
Original line number Diff line number Diff line
@@ -454,7 +454,8 @@

    <style name="ConditionFullCardBorderlessButton"
           parent="@style/ConditionCardBorderlessButton">
        <item name="android:textAlignment">viewEnd</item>
        <item name="android:minWidth">24dp</item>
        <item name="android:layout_marginStart">20dp</item>
    </style>

    <style name="ContextualCardDismissalButton"