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

Commit ec760309 authored by Ben Kwa's avatar Ben Kwa
Browse files

Tweak root item layouts.

- Make stuff line up better.
- Visually distinguish root names from their descriptions.

BUG=26793290

Change-Id: Ibb050b205b7dc69415c736486bc3b7deef0b0767
parent 3070d75b
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -27,8 +27,6 @@
    <FrameLayout
        android:layout_width="@dimen/icon_size"
        android:layout_height="@dimen/icon_size"
        android:layout_marginStart="@dimen/root_icon_margin"
        android:layout_marginEnd="@dimen/root_icon_margin"
        android:duplicateParentState="true">

        <ImageView
@@ -55,7 +53,7 @@
            android:singleLine="true"
            android:ellipsize="end"
            android:textAlignment="viewStart"
            android:textAppearance="@android:style/TextAppearance.Material.Body1"
            android:textAppearance="@android:style/TextAppearance.Material.Menu"
            android:textColor="@color/item_root_primary_text" />

        <TextView
@@ -65,7 +63,7 @@
            android:singleLine="true"
            android:ellipsize="end"
            android:textAlignment="viewStart"
            android:textAppearance="@android:style/TextAppearance.Material.Body1"
            android:textAppearance="@android:style/TextAppearance.Material.Caption"
            android:textColor="@color/item_root_primary_text" />

    </LinearLayout>
+2 −0
Original line number Diff line number Diff line
@@ -18,4 +18,6 @@
    <dimen name="grid_padding_horiz">16dp</dimen>
    <dimen name="grid_padding_vert">16dp</dimen>

    <dimen name="list_item_padding">24dp</dimen>

</resources>