From 6595b4bb5b254ea78c18528bc5db979599b475c3 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Mon, 9 Aug 2021 17:59:26 +0200 Subject: [PATCH] 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" />