Skip to content

Commit 9976b7e

Browse files
committed
usage: fix mirroring next and previous buttons in RTL languages
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
1 parent 08597c8 commit 9976b7e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

File renamed without changes.

app/src/main/res/drawable/ic_less_than.xml renamed to app/src/main/res/drawable/ic_previous.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<vector xmlns:android="http://schemas.android.com/apk/res/android"
33
android:width="24dp"
44
android:height="24dp"
5+
android:autoMirrored="true"
56
android:tint="?attr/colorControlNormal"
67
android:viewportWidth="24"
78
android:viewportHeight="24">

app/src/main/res/layout/item_app_usage_header.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
android:layout_weight="0"
2222
android:contentDescription="@string/goto_previous"
2323
android:paddingVertical="@dimen/padding_small"
24-
app:icon="@drawable/ic_less_than"
24+
app:icon="@drawable/ic_previous"
2525
app:iconSize="20dp" />
2626

2727
<androidx.appcompat.widget.LinearLayoutCompat
@@ -60,7 +60,7 @@
6060
android:layout_weight="0"
6161
android:contentDescription="@string/next"
6262
android:paddingVertical="@dimen/padding_small"
63-
app:icon="@drawable/ic_greater_than"
63+
app:icon="@drawable/ic_next"
6464
app:iconSize="20dp" />
6565

6666
</androidx.appcompat.widget.LinearLayoutCompat>

0 commit comments

Comments
 (0)