From 078afb1ba93a0f8b2ae5be5e8229658799616870 Mon Sep 17 00:00:00 2001 From: Veena Date: Fri, 22 Nov 2019 15:18:00 +0530 Subject: [PATCH] Fix part #141: Hi-Fi Topic overview tab fragment (#342) * Update topic_overview_fragment.xml * Update topic_overview_fragment.xml * Update topic_overview_fragment.xml * Update ic_available_offline_primary_24dp.xml * Update colors.xml * Update ic_available_offline_primary_24dp.xml * Update topic_overview_fragment.xml --- .../ic_available_offline_primary_24dp.xml | 2 +- .../res/layout/topic_overview_fragment.xml | 78 ++++++++++--------- 2 files changed, 44 insertions(+), 36 deletions(-) diff --git a/app/src/main/res/drawable/ic_available_offline_primary_24dp.xml b/app/src/main/res/drawable/ic_available_offline_primary_24dp.xml index 1b7666bff8f..75ab1cef6eb 100644 --- a/app/src/main/res/drawable/ic_available_offline_primary_24dp.xml +++ b/app/src/main/res/drawable/ic_available_offline_primary_24dp.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/layout/topic_overview_fragment.xml b/app/src/main/res/layout/topic_overview_fragment.xml index a0af50a993e..e2bc0c44c3d 100644 --- a/app/src/main/res/layout/topic_overview_fragment.xml +++ b/app/src/main/res/layout/topic_overview_fragment.xml @@ -1,6 +1,7 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools"> @@ -22,94 +23,99 @@ - + app:layout_constraintTop_toTopOf="parent" + app:rectangleDrawableWithColor="@{viewModel.topic.topicThumbnail.backgroundColorRgb}" /> - - - - + + app:layout_constraintBottom_toBottomOf="@+id/topic_thumbnail_image_view" + tools:layout_editor_absoluteX="0dp" /> + app:layout_constraintTop_toBottomOf="@+id/topic_name_text_view" /> + + app:layout_constraintTop_toBottomOf="@+id/story_count_text_view" /> + + + +