From 558dad98d9d495e004b5c8cc81f316fffd7e5a5a Mon Sep 17 00:00:00 2001 From: aikrq <95296093+aikrq@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:43:16 +0700 Subject: [PATCH] feat: Redesign Library Downloader Dialog UI --- .../res/layout/library_downloader_dialog.xml | 25 +++++++++++-------- .../main/res/layout/view_item_local_lib.xml | 3 ++- .../res/layout/view_item_local_lib_search.xml | 4 +-- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/library_downloader_dialog.xml b/app/src/main/res/layout/library_downloader_dialog.xml index 74e16c5661..108f4f872f 100644 --- a/app/src/main/res/layout/library_downloader_dialog.xml +++ b/app/src/main/res/layout/library_downloader_dialog.xml @@ -12,17 +12,17 @@ android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:layout_marginBottom="10dp" + android:layout_marginEnd="20dp" + android:layout_marginStart="20dp" android:text="Download a dependency" - android:textAppearance="?attr/textAppearanceHeadlineSmallEmphasized" /> + android:textAppearance="?attr/textAppearanceTitleLarge" /> @@ -39,8 +39,8 @@ android:id="@+id/dependency_info" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginHorizontal="16dp" - android:layout_marginTop="12dp" + android:layout_marginHorizontal="20dp" + android:layout_marginTop="16dp" android:maxLines="2" android:text="@string/local_library_manager_dependency_info" android:textColor="?attr/colorOnSurface" @@ -50,16 +50,18 @@ android:id="@+id/cb_skip_subdependencies" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginHorizontal="16dp" - android:layout_marginTop="12dp" + android:layout_marginEnd="20dp" + android:layout_marginStart="16dp" + android:layout_marginTop="8dp" android:paddingStart="8dp" android:text="@string/local_library_manager_skip_downloading_dependencies" />