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

Commit 843c000f authored by codingkerensa's avatar codingkerensa Committed by Luca Stefani
Browse files

Pad ime_switcher same as navbar buttons

Use same padding value (@dimen/navigation_side_padding) for ime_switcher width
as for other navbar buttons. This corrects the alignment of the ime_switcher
button on the navbar, giving it the same width as other navbar buttons (e.g.
clipboard, or custom key) for a more symmetric look.

Ticket: #1475
Test: m, check layout on device/tablet
Change-Id: I5d96ce1b18a43d4788d15d54568e638328c4fbc3
parent a09e9e4f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,13 +17,13 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res-auto"
    android:id="@+id/menu_container"
    android:layout_width="@dimen/navigation_key_width"
    android:layout_width="@dimen/navigation_side_padding"
    android:layout_height="match_parent"
    android:importantForAccessibility="no"
    >
    <!-- Use nav button width & height=match_parent for parent FrameLayout and buttons because they
    are placed inside a view that has a size controlled by weight. Ensure weight is large enough to
    support icon size. -->
    support icon size. Use layout_width=navigation_side_padding like other navbar buttons. -->

    <com.android.systemui.statusbar.policy.KeyButtonView
        android:id="@+id/menu"