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

Commit 3d5a59c1 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Update IME Switcher Menu spacing

This updates the spacing between IME Switcher Menu subtypes, headers and
dividers, to reduce the extra spacing below the last item, as well as
add some additional spacing around Headers and Dividers.

Flag: android.view.inputmethod.ime_switcher_revamp
Bug: 369120217
Test: visual inspection
Change-Id: I243f1bd910c1fd09b78f514e4bbe1ddb30f3175d
parent ceaa8ce1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
                android:id="@+id/list"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingVertical="8dp"
                android:paddingTop="8dp"
                android:clipToPadding="false"
                android:layoutManager="com.android.internal.widget.LinearLayoutManager"/>

+2 −2
Original line number Diff line number Diff line
@@ -21,12 +21,12 @@
    android:orientation="vertical"
    android:layout_marginHorizontal="16dp"
    android:layout_marginTop="8dp"
    android:layout_marginBottom="12dp">
    android:layout_marginBottom="16dp">

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="?attr/materialColorSurfaceVariant"
        android:background="?attr/materialColorOutlineVariant"
        android:layout_marginStart="20dp"
        android:layout_marginEnd="24dp"
        android:importantForAccessibility="no"/>
+2 −1
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:layout_marginHorizontal="16dp"
    android:layout_marginVertical="8dp">
    android:layout_marginTop="4dp"
    android:layout_marginBottom="16dp">

    <TextView
        android:id="@+id/header_text"