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

Commit 488d2755 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #7198224 TimePicker widget shouldn't be completely RTL

- force layout direction to ltr for hours and minutes

Change-Id: I56f892fba3d5c80b7848d667e123a6236eeb9ec7
parent 4e7b551f
Loading
Loading
Loading
Loading
+23 −16
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <LinearLayout android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layoutDirection="ltr">

        <!-- hour -->
        <NumberPicker
            android:id="@+id/hour"
@@ -44,6 +49,8 @@
            android:focusableInTouchMode="true"
            />

    </LinearLayout>

    <!-- AM / PM -->
    <Button
        android:id="@+id/amPm"
+37 −30
Original line number Diff line number Diff line
@@ -25,6 +25,11 @@
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <LinearLayout android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layoutDirection="ltr">

        <!-- hour -->
        <NumberPicker
            android:id="@+id/hour"
@@ -60,6 +65,8 @@
            android:focusableInTouchMode="true"
            />

    </LinearLayout>

    <!-- AM / PM -->
    <NumberPicker
        android:id="@+id/amPm"