From b88c0a7205ed8c7ef535a8ac38e202275c69ad5c Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Wed, 11 Sep 2024 20:29:54 +0530 Subject: [PATCH] Tweak extended details padding and corner radius --- app/src/main/res/drawable/extended_details_background.xml | 7 ++++--- app/src/main/res/layout/pager_photo_item.xml | 5 ++--- app/src/main/res/layout/pager_video_item.xml | 5 ++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/drawable/extended_details_background.xml b/app/src/main/res/drawable/extended_details_background.xml index 8698f8ce9..01e5a822e 100644 --- a/app/src/main/res/drawable/extended_details_background.xml +++ b/app/src/main/res/drawable/extended_details_background.xml @@ -1,5 +1,6 @@ - - - + + + diff --git a/app/src/main/res/layout/pager_photo_item.xml b/app/src/main/res/layout/pager_photo_item.xml index b4d908804..655e144da 100644 --- a/app/src/main/res/layout/pager_photo_item.xml +++ b/app/src/main/res/layout/pager_photo_item.xml @@ -51,10 +51,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentStart="true" - android:layout_marginLeft="@dimen/small_margin" - android:layout_marginRight="@dimen/small_margin" + android:layout_marginHorizontal="@dimen/medium_margin" android:background="@drawable/extended_details_background" - android:padding="@dimen/small_margin" + android:padding="@dimen/medium_margin" android:textColor="@color/theme_dark_text_color" android:textSize="@dimen/smaller_text_size" android:visibility="gone" diff --git a/app/src/main/res/layout/pager_video_item.xml b/app/src/main/res/layout/pager_video_item.xml index bfb2ee62f..31b9a503c 100644 --- a/app/src/main/res/layout/pager_video_item.xml +++ b/app/src/main/res/layout/pager_video_item.xml @@ -61,10 +61,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentStart="true" - android:layout_marginLeft="@dimen/small_margin" - android:layout_marginRight="@dimen/small_margin" + android:layout_marginHorizontal="@dimen/medium_margin" android:background="@drawable/extended_details_background" - android:padding="@dimen/small_margin" + android:padding="@dimen/medium_margin" android:textColor="@color/theme_dark_text_color" android:textSize="@dimen/smaller_text_size" android:visibility="gone"