From 812f382775ef95116cd0b34bf247eae2b5c058db Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 8 Dec 2019 11:52:54 +0100 Subject: [PATCH] replacing some xml tags with proper RTL tags --- app/build.gradle | 2 +- app/src/main/res/layout/item_checklist.xml | 10 +++++----- app/src/main/res/layout/item_checklist_widget.xml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 87d78334..4ff6f736 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,7 +51,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.20.6' + implementation 'com.simplemobiletools:commons:5.20.7' kapt 'androidx.room:room-compiler:2.2.2' implementation 'androidx.room:room-runtime:2.2.2' diff --git a/app/src/main/res/layout/item_checklist.xml b/app/src/main/res/layout/item_checklist.xml index d399497a..24254f3e 100644 --- a/app/src/main/res/layout/item_checklist.xml +++ b/app/src/main/res/layout/item_checklist.xml @@ -18,18 +18,18 @@ android:layout_marginLeft="@dimen/medium_margin" android:layout_marginTop="@dimen/medium_margin" android:layout_marginRight="@dimen/medium_margin" - android:layout_toLeftOf="@+id/checklist_image" - android:paddingLeft="@dimen/activity_margin" + android:layout_toStartOf="@+id/checklist_image" + android:paddingStart="@dimen/activity_margin" android:textSize="@dimen/bigger_text_size" - tools:text="Butter"/> + tools:text="Butter" /> + android:src="@drawable/ic_cross_vector" /> diff --git a/app/src/main/res/layout/item_checklist_widget.xml b/app/src/main/res/layout/item_checklist_widget.xml index 2a508faa..220519fb 100644 --- a/app/src/main/res/layout/item_checklist_widget.xml +++ b/app/src/main/res/layout/item_checklist_widget.xml @@ -6,10 +6,10 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/checklist_image" - android:paddingLeft="@dimen/activity_margin" + android:layout_toStartOf="@+id/checklist_image" + android:paddingStart="@dimen/activity_margin" android:paddingTop="@dimen/medium_margin" - android:paddingRight="@dimen/medium_margin" + android:paddingEnd="@dimen/medium_margin" android:paddingBottom="@dimen/medium_margin" android:textSize="@dimen/bigger_text_size" - tools:text="Butter"/> + tools:text="Butter" />