From b52fa5b68b50751365239515c84674b31fe5d422 Mon Sep 17 00:00:00 2001 From: Ammar64 Date: Sun, 18 May 2025 01:18:00 +0300 Subject: [PATCH 1/5] Fix phone number text direction --- app/src/main/res/layout/activity_call.xml | 3 +++ app/src/main/res/layout/call_notification.xml | 5 ++++- app/src/main/res/layout/item_conference_call.xml | 1 + app/src/main/res/layout/item_filter_contact_source.xml | 1 + app/src/main/res/layout/item_recent_call.xml | 2 +- app/src/main/res/layout/item_speed_dial.xml | 1 + 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_call.xml b/app/src/main/res/layout/activity_call.xml index 203df0309..9460ba93c 100644 --- a/app/src/main/res/layout/activity_call.xml +++ b/app/src/main/res/layout/activity_call.xml @@ -40,6 +40,7 @@ app:layout_constraintEnd_toStartOf="@+id/on_hold_label" app:layout_constraintStart_toEndOf="@+id/imageView" app:layout_constraintTop_toTopOf="parent" + android:textDirection="firstStrongLtr" tools:text="0912 345 678" /> + android:layout_height="match_parent" + tools:background="#fff"> diff --git a/app/src/main/res/layout/item_recent_call.xml b/app/src/main/res/layout/item_recent_call.xml index 66ed64209..7fd1eebec 100644 --- a/app/src/main/res/layout/item_recent_call.xml +++ b/app/src/main/res/layout/item_recent_call.xml @@ -32,7 +32,7 @@ android:ellipsize="end" android:maxLines="1" android:textAlignment="viewStart" - android:textDirection="locale" + android:textDirection="firstStrongLtr" android:textSize="@dimen/bigger_text_size" app:layout_constraintBottom_toTopOf="@id/item_recents_date_time" app:layout_constraintEnd_toStartOf="@+id/overflow_menu_icon" diff --git a/app/src/main/res/layout/item_speed_dial.xml b/app/src/main/res/layout/item_speed_dial.xml index 6d9bcbdde..0e4b051d4 100644 --- a/app/src/main/res/layout/item_speed_dial.xml +++ b/app/src/main/res/layout/item_speed_dial.xml @@ -11,4 +11,5 @@ android:maxLines="1" android:padding="@dimen/activity_margin" android:singleLine="true" + android:textDirection="firstStrongLtr" android:textSize="@dimen/bigger_text_size" /> From 942a8b579c4389512186e0d0211fe692b0126f22 Mon Sep 17 00:00:00 2001 From: Ammar64 Date: Sun, 18 May 2025 01:27:24 +0300 Subject: [PATCH 2/5] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 021565983..3a1b7662d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Fixed phone number text direction in RTL layout (#307) ## [1.4.0] - 2025-04-01 From ca96c26c8144ced7bfcf904a84fb935906c260c8 Mon Sep 17 00:00:00 2001 From: Ammar64 <134169730+Ammar64@users.noreply.github.com> Date: Fri, 6 Jun 2025 12:23:36 +0300 Subject: [PATCH 3/5] Update CHANGELOG.md Co-authored-by: Naveen Singh <36371707+naveensingh@users.noreply.github.com> --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a1b7662d..da97194a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Fixed phone number text direction in RTL layout (#307) + +### Fixed +- Fixed phone number text direction in RTL layout ([#307]) ## [1.4.0] - 2025-04-01 From d3ce13a3479abc01e4cbd4b6e6375d761c5998c9 Mon Sep 17 00:00:00 2001 From: Ammar64 <134169730+Ammar64@users.noreply.github.com> Date: Fri, 6 Jun 2025 12:37:48 +0300 Subject: [PATCH 4/5] Update item_filter_contact_source.xml --- app/src/main/res/layout/item_filter_contact_source.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/res/layout/item_filter_contact_source.xml b/app/src/main/res/layout/item_filter_contact_source.xml index cc9c5f43f..a2f5a38ea 100644 --- a/app/src/main/res/layout/item_filter_contact_source.xml +++ b/app/src/main/res/layout/item_filter_contact_source.xml @@ -16,7 +16,6 @@ android:layout_marginEnd="@dimen/medium_margin" android:background="@null" android:clickable="false" - android:textDirection="firstStrongLtr" android:paddingStart="@dimen/small_margin" /> From de1b00e36adb5c56965bcf82694943c7fd8abd37 Mon Sep 17 00:00:00 2001 From: Ammar64 <134169730+Ammar64@users.noreply.github.com> Date: Fri, 6 Jun 2025 12:39:09 +0300 Subject: [PATCH 5/5] Update call_notification.xml --- app/src/main/res/layout/call_notification.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/res/layout/call_notification.xml b/app/src/main/res/layout/call_notification.xml index 9ae1e379f..b75682142 100644 --- a/app/src/main/res/layout/call_notification.xml +++ b/app/src/main/res/layout/call_notification.xml @@ -23,7 +23,6 @@ android:layout_height="wrap_content" android:layout_below="@+id/notification_caller_name" android:alpha="0.8" - android:textDirection="firstStrongLtr" tools:text="123 456 789" />