From bde9242067d87ff4a3e1b76a4e40403cca22a411 Mon Sep 17 00:00:00 2001 From: Priyank Shankar <75121767+shankarpriyank@users.noreply.github.com> Date: Thu, 5 May 2022 21:28:08 +0530 Subject: [PATCH] Fix # 3581 Merge topic_lessons_story_summary.xml (#4234) * Optimised the layout files * Added space * Remmoved Extra dimens --- .../topic_lessons_story_summary.xml | 174 ----------------- .../topic_lessons_story_summary.xml | 6 +- .../topic_lessons_story_summary.xml | 178 ------------------ app/src/main/res/values-land/dimens.xml | 7 + .../main/res/values-sw600dp-land/dimens.xml | 9 +- .../main/res/values-sw600dp-port/dimens.xml | 7 +- app/src/main/res/values/dimens.xml | 7 + 7 files changed, 30 insertions(+), 358 deletions(-) delete mode 100644 app/src/main/res/layout-land/topic_lessons_story_summary.xml delete mode 100644 app/src/main/res/layout-sw600dp-port/topic_lessons_story_summary.xml diff --git a/app/src/main/res/layout-land/topic_lessons_story_summary.xml b/app/src/main/res/layout-land/topic_lessons_story_summary.xml deleted file mode 100644 index bd2177427dd..00000000000 --- a/app/src/main/res/layout-land/topic_lessons_story_summary.xml +++ /dev/null @@ -1,174 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/layout-sw600dp-land/topic_lessons_story_summary.xml b/app/src/main/res/layout-sw600dp-land/topic_lessons_story_summary.xml index ac94d53494d..8922aad9a63 100644 --- a/app/src/main/res/layout-sw600dp-land/topic_lessons_story_summary.xml +++ b/app/src/main/res/layout-sw600dp-land/topic_lessons_story_summary.xml @@ -39,8 +39,8 @@ @@ -96,7 +96,7 @@ android:id="@+id/story_name_chapter_count_container" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginStart="20dp" + android:layout_marginStart="@dimen/topic_lessons_summary_story_name_chapter_count_container_margin_start" android:layout_weight="1" android:contentDescription="@{viewModel.computeStoryNameChapterCountContainerContentDescription()}" android:gravity="center_vertical" diff --git a/app/src/main/res/layout-sw600dp-port/topic_lessons_story_summary.xml b/app/src/main/res/layout-sw600dp-port/topic_lessons_story_summary.xml deleted file mode 100644 index 084ac551da8..00000000000 --- a/app/src/main/res/layout-sw600dp-port/topic_lessons_story_summary.xml +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/values-land/dimens.xml b/app/src/main/res/values-land/dimens.xml index 26b78d51765..ebd721a1ef7 100644 --- a/app/src/main/res/values-land/dimens.xml +++ b/app/src/main/res/values-land/dimens.xml @@ -488,6 +488,13 @@ 36dp 36dp + + 96dp + 96dp + 16dp + 16dp + 20dp + 36dp 36dp diff --git a/app/src/main/res/values-sw600dp-land/dimens.xml b/app/src/main/res/values-sw600dp-land/dimens.xml index c817c64db5e..60af2db02bf 100644 --- a/app/src/main/res/values-sw600dp-land/dimens.xml +++ b/app/src/main/res/values-sw600dp-land/dimens.xml @@ -443,6 +443,11 @@ 16dp 4dp + + 16dp + 16dp + 20dp + 32dp 20dp @@ -450,11 +455,11 @@ 0dp 0dp 360dp - + 16dp 16dp - + 16dp 16dp diff --git a/app/src/main/res/values-sw600dp-port/dimens.xml b/app/src/main/res/values-sw600dp-port/dimens.xml index c2167fa6646..2930a3d53d2 100644 --- a/app/src/main/res/values-sw600dp-port/dimens.xml +++ b/app/src/main/res/values-sw600dp-port/dimens.xml @@ -441,7 +441,12 @@ 16dp 16dp 4dp - + + + 12dp + 12dp + 12dp + 32dp 20dp diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 9752e225969..070409a453e 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -691,6 +691,13 @@ 16dp 16dp + + 20dp + 20dp + 12dp + 12dp + 12dp + 16dp 16dp