Commit 7cdc1450 authored by mcarare's avatar mcarare
Browse files

For #4804 Improve menu items to support RTL

parent abdcd18b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@
    <Switch
        android:id="@+id/switch_widget"
        style="@style/Mozac.Browser.Menu.Item.Text"
        android:textAlignment="viewStart"
        android:layout_width="match_parent"
        android:layout_height="@dimen/mozac_browser_menu_item_container_layout_height"
        android:background="?android:attr/selectableItemBackgroundBorderless"
+4 −1
Original line number Diff line number Diff line
@@ -3,10 +3,13 @@
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/simple_text"
    style="@style/Mozac.Browser.Menu.Item.Text"
    android:layout_width="match_parent"
    android:layout_height="@dimen/mozac_browser_menu_item_container_layout_height"
    android:gravity="center_vertical"
    android:textAlignment="viewStart"
    android:paddingEnd="16dp"
    android:paddingStart="16dp" />
    android:paddingStart="16dp"
    tools:ignore="RtlCompat" />