From 6595b4bb5b254ea78c18528bc5db979599b475c3 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Mon, 9 Aug 2021 17:59:26 +0200 Subject: [PATCH 1/2] fix to search when rtl is activated Signed-off-by: Marcel Hibbe --- app/src/main/res/layout/activity_main.xml | 4 ++-- app/src/main/res/layout/search_layout.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index c7fd4d565..829ac0f30 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -85,8 +85,8 @@ android:textColor="@color/fontSecondaryAppbar" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintLeft_toRightOf="@id/menu_button" - app:layout_constraintRight_toLeftOf="@id/rightContainer" + app:layout_constraintStart_toEndOf="@id/menu_button" + app:layout_constraintEnd_toStartOf="@id/rightContainer" app:layout_constraintTop_toTopOf="parent" tools:text="Search in Nextcloud" /> diff --git a/app/src/main/res/layout/search_layout.xml b/app/src/main/res/layout/search_layout.xml index 2fe7ce209..759a86922 100644 --- a/app/src/main/res/layout/search_layout.xml +++ b/app/src/main/res/layout/search_layout.xml @@ -74,8 +74,8 @@ android:textColor="@color/fontSecondaryAppbar" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintLeft_toRightOf="@id/menu_button" - app:layout_constraintRight_toLeftOf="@id/rightContainer" + app:layout_constraintStart_toEndOf="@id/menu_button" + app:layout_constraintEnd_toStartOf="@id/rightContainer" app:layout_constraintTop_toTopOf="parent" tools:text="@string/appbar_search_in" /> From 4fa546d075b8e28ce68771da92996243ae4b5213 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Mon, 9 Aug 2021 18:50:49 +0200 Subject: [PATCH 2/2] move input hint to right (in conversation list when rtl is activated) Signed-off-by: Marcel Hibbe --- app/src/main/res/layout/activity_main.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 829ac0f30..6cf978353 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -82,6 +82,7 @@ android:ellipsize="end" android:gravity="start|center_vertical" android:lines="1" + android:textAlignment="viewStart" android:textColor="@color/fontSecondaryAppbar" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent"