From ee064f3cb4264be4d3b89b2e08c25bcb81f70dd2 Mon Sep 17 00:00:00 2001 From: davidoskky Date: Sun, 29 Jan 2023 12:55:28 +0000 Subject: [PATCH] improvement: Improve right to left support (#130) Co-authored-by: davidoskky Co-committed-by: davidoskky --- .../src/main/res/layout/activity_home.xml | 22 ++-- .../src/main/res/layout/activity_login.xml | 113 +++++++++--------- .../src/main/res/layout/activity_sources.xml | 3 +- .../res/layout/activity_upsert_source.xml | 81 +++++-------- androidApp/src/main/res/layout/card_item.xml | 51 ++++---- .../src/main/res/layout/filter_fragment.xml | 8 +- .../src/main/res/layout/fragment_article.xml | 70 +++++------ androidApp/src/main/res/layout/list_item.xml | 26 ++-- .../src/main/res/layout/source_list_item.xml | 30 ++--- 9 files changed, 181 insertions(+), 223 deletions(-) diff --git a/androidApp/src/main/res/layout/activity_home.xml b/androidApp/src/main/res/layout/activity_home.xml index 5debd59..7d0cbc9 100644 --- a/androidApp/src/main/res/layout/activity_home.xml +++ b/androidApp/src/main/res/layout/activity_home.xml @@ -1,13 +1,12 @@ - + tools:context="bou.amine.apps.readerforselfossv2.android.HomeActivity"> - + /> @@ -45,19 +46,19 @@ + android:background="?android:attr/windowBackground" + android:orientation="vertical"> + tools:listitem="@layout/list_item" /> @@ -77,6 +78,7 @@ + + - + android:theme="@style/ToolBarStyle" + app:popupTheme="?attr/toolbarPopupTheme" /> + + android:padding="@dimen/activity_horizontal_margin"> + android:visibility="gone" /> - + android:layout_height="wrap_content" + android:orientation="vertical"> - + android:hint="@string/prompt_url" + android:imeOptions="actionUnspecified" + android:importantForAutofill="no" + android:inputType="textUri" + android:maxLines="1" + android:minHeight="48dp" /> - + - + - + - +