diff --git a/app/src/main/res/drawable/library_separator.xml b/app/src/main/res/drawable/library_separator.xml deleted file mode 100644 index 6813e020b6..0000000000 --- a/app/src/main/res/drawable/library_separator.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_library.xml b/app/src/main/res/layout/fragment_library.xml index ca3b2606e0..76c11bb74d 100644 --- a/app/src/main/res/layout/fragment_library.xml +++ b/app/src/main/res/layout/fragment_library.xml @@ -14,7 +14,10 @@ android:id="@+id/librarySessions" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" android:contentDescription="@string/library_sessions" + android:focusable="true" app:listItemIcon="@drawable/library_icon_sessions_circle_background" app:listItemTitle="@string/library_sessions" /> @@ -22,7 +25,10 @@ android:id="@+id/libraryScreenshots" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" android:contentDescription="@string/library_screenshots" + android:focusable="true" app:listItemIcon="@drawable/library_icon_screenshots_circle_background" app:listItemTitle="@string/library_screenshots" /> @@ -30,7 +36,10 @@ android:id="@+id/libraryDownloads" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" android:contentDescription="@string/library_downloads" + android:focusable="true" app:listItemIcon="@drawable/library_icon_downloads_circle_background" app:listItemTitle="@string/library_downloads" /> @@ -38,7 +47,10 @@ android:id="@+id/libraryFavorites" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" android:contentDescription="@string/library_favorites" + android:focusable="true" app:listItemIcon="@drawable/library_icon_favorites_circle_background" app:listItemTitle="@string/library_favorites" /> @@ -46,6 +58,9 @@ android:id="@+id/libraryHistory" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" app:listItemIcon="@drawable/library_icon_history_circle_background" app:listItemTitle="@string/library_history" /> @@ -53,7 +68,10 @@ android:id="@+id/libraryLogins" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="?android:attr/selectableItemBackground" + android:clickable="true" android:contentDescription="@string/library_logins" + android:focusable="true" app:listItemIcon="@drawable/library_icon_logins_circle_background" app:listItemTitle="@string/library_logins" /> diff --git a/app/src/main/res/layout/library_list_item.xml b/app/src/main/res/layout/library_list_item.xml index be0db6ba78..ca939d915c 100644 --- a/app/src/main/res/layout/library_list_item.xml +++ b/app/src/main/res/layout/library_list_item.xml @@ -5,19 +5,18 @@ + tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout"> - - - \ No newline at end of file + app:layout_constraintStart_toEndOf="@id/libraryIcon" + app:layout_constraintTop_toTopOf="parent" /> + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index cb044cc131..2f8cd63ede 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -8,7 +8,8 @@ 14dp 7dp 56dp - 40dp - 16dp + 48dp + 16dp + 8dp 40dp \ No newline at end of file