From 5c744d2f188026dcfa82dcc57da80901cc494493 Mon Sep 17 00:00:00 2001 From: davidoskky Date: Fri, 27 Jan 2023 20:00:43 +0100 Subject: [PATCH] Clean up and improve RTL in sources list Adapted the layout for LTR, in LTR the title is always aligned on the right while the error depends on the language. Gave more prominence to the title text and set the error to italic. --- .../src/main/res/layout/activity_sources.xml | 3 +- .../src/main/res/layout/source_list_item.xml | 30 +++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/androidApp/src/main/res/layout/activity_sources.xml b/androidApp/src/main/res/layout/activity_sources.xml index d5dc234..6b8418c 100644 --- a/androidApp/src/main/res/layout/activity_sources.xml +++ b/androidApp/src/main/res/layout/activity_sources.xml @@ -24,7 +24,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:scrollbars="vertical" - app:layout_behavior="@string/appbar_scrolling_view_behavior"> + app:layout_behavior="@string/appbar_scrolling_view_behavior" + tools:listitem="@layout/source_list_item"> + tools:text="Source title" /> \ No newline at end of file