From 0a3a09e631ecd52e2a35a0a1608f0362f25abb5f Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Tue, 27 Apr 2021 11:05:58 +0200 Subject: [PATCH] Layouts XML cleanup --- app/src/main/res/layout/activity_main.xml | 13 +- .../res/layout/bottom_sheet_album_dialog.xml | 136 ++++++++--------- .../res/layout/bottom_sheet_artist_dialog.xml | 59 ++++--- .../res/layout/bottom_sheet_song_dialog.xml | 144 +++++++++--------- .../res/layout/chip_search_filter_genre.xml | 4 +- .../res/layout/fragment_album_catalogue.xml | 17 +-- .../res/layout/fragment_artist_catalogue.xml | 19 ++- app/src/main/res/layout/fragment_filter.xml | 37 +++-- .../res/layout/fragment_genre_catalogue.xml | 25 ++- app/src/main/res/layout/fragment_landing.xml | 3 +- app/src/main/res/layout/fragment_library.xml | 45 +++--- .../layout/fragment_player_bottom_sheet.xml | 7 +- .../layout/fragment_playlist_catalogue.xml | 19 ++- .../res/layout/fragment_playlist_page.xml | 13 +- app/src/main/res/layout/fragment_search.xml | 27 ++-- app/src/main/res/layout/fragment_settings.xml | 6 +- .../res/layout/fragment_song_list_page.xml | 19 ++- app/src/main/res/layout/fragment_sync.xml | 4 +- .../res/layout/item_artist_page_album.xml | 11 +- .../res/layout/item_home_discover_song.xml | 14 +- app/src/main/res/layout/item_home_track.xml | 17 +-- app/src/main/res/layout/item_home_year.xml | 13 +- .../main/res/layout/item_library_album.xml | 18 +-- .../main/res/layout/item_library_artist.xml | 11 +- .../layout/item_library_catalogue_album.xml | 10 +- .../layout/item_library_catalogue_artist.xml | 9 +- .../item_library_catalogue_playlist.xml | 3 +- .../main/res/layout/item_library_genre.xml | 10 +- .../main/res/layout/item_library_playlist.xml | 3 +- .../layout/item_player_now_playing_song.xml | 5 +- .../res/layout/item_player_queue_song.xml | 48 +++--- .../res/layout/item_search_result_song.xml | 4 +- .../res/layout/player_header_bottom_sheet.xml | 35 ++--- 33 files changed, 367 insertions(+), 441 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 87ba8603..19638595 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,6 +1,5 @@ - + app:navGraph="@navigation/nav_graph" /> + app:layout_behavior="@string/bottom_sheet_behavior" /> @@ -39,7 +38,7 @@ android:visibility="gone" app:itemIconTint="@drawable/bottom_nav_selector" app:labelVisibilityMode="unlabeled" - app:menu="@menu/bottom_nav_menu"/> + app:menu="@menu/bottom_nav_menu" /> + android:visibility="gone" /> \ No newline at end of file diff --git a/app/src/main/res/layout/bottom_sheet_album_dialog.xml b/app/src/main/res/layout/bottom_sheet_album_dialog.xml index fa81886e..e14c56bf 100644 --- a/app/src/main/res/layout/bottom_sheet_album_dialog.xml +++ b/app/src/main/res/layout/bottom_sheet_album_dialog.xml @@ -1,17 +1,16 @@ - + android:background="@color/cardColor" + android:orientation="vertical"> @@ -22,22 +21,22 @@ android:layout_margin="2dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> + android:paddingBottom="12dp" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent"> + android:clickable="true" + android:fontFamily="@font/open_sans_font_family" + android:paddingStart="20dp" + android:paddingTop="12dp" + android:paddingEnd="20dp" + android:paddingBottom="12dp" + android:text="Instant mix" + android:textColor="@color/titleTextColor" + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:fontFamily="@font/open_sans_font_family" + android:paddingStart="20dp" + android:paddingTop="12dp" + android:paddingEnd="20dp" + android:paddingBottom="12dp" + android:text="Scarica" + android:textColor="@color/titleTextColor" + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/bottom_sheet_artist_dialog.xml b/app/src/main/res/layout/bottom_sheet_artist_dialog.xml index 0a5812ee..861abcda 100644 --- a/app/src/main/res/layout/bottom_sheet_artist_dialog.xml +++ b/app/src/main/res/layout/bottom_sheet_artist_dialog.xml @@ -1,17 +1,16 @@ - + android:background="@color/cardColor" + android:orientation="vertical"> @@ -22,21 +21,21 @@ android:layout_margin="2dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> + android:paddingBottom="12dp" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent"> + android:clickable="true" + android:fontFamily="@font/open_sans_font_family" + android:paddingStart="20dp" + android:paddingTop="12dp" + android:paddingEnd="20dp" + android:paddingBottom="12dp" + android:text="Instant mix" + android:textColor="@color/titleTextColor" + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/bottom_sheet_song_dialog.xml b/app/src/main/res/layout/bottom_sheet_song_dialog.xml index 1a63e5c2..84429f4c 100644 --- a/app/src/main/res/layout/bottom_sheet_song_dialog.xml +++ b/app/src/main/res/layout/bottom_sheet_song_dialog.xml @@ -1,17 +1,16 @@ - + android:background="@color/cardColor" + android:orientation="vertical"> @@ -23,21 +22,21 @@ android:layout_margin="2dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> @@ -45,16 +44,16 @@ android:id="@+id/song_title_text_view" android:layout_width="0dp" android:layout_height="wrap_content" - android:fontFamily="@font/open_sans_font_family" - android:singleLine="true" + android:layout_marginTop="8dp" android:ellipsize="marquee" - android:marqueeRepeatLimit ="marquee_forever" android:focusable="true" android:focusableInTouchMode="true" - android:scrollHorizontally="true" - android:layout_marginTop="8dp" + android:fontFamily="@font/open_sans_font_family" + android:marqueeRepeatLimit="marquee_forever" android:paddingStart="12dp" android:paddingEnd="12dp" + android:scrollHorizontally="true" + android:singleLine="true" android:text="@string/label_placeholder" android:textColor="@color/titleTextColor" android:textSize="14sp" @@ -84,10 +83,10 @@ android:layout_marginTop="8dp" android:layout_marginEnd="8dp" android:background="@drawable/ic_check_circle" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toStartOf="@+id/button_favorite" - android:visibility="gone"/> + app:layout_constraintTop_toTopOf="parent" /> @@ -96,123 +95,122 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - app:layout_constraintLeft_toLeftOf="parent" - app:layout_constraintRight_toRightOf="parent" android:paddingTop="8dp" - android:paddingBottom="12dp"> + android:paddingBottom="12dp" + app:layout_constraintLeft_toLeftOf="parent" + app:layout_constraintRight_toRightOf="parent"> + android:clickable="true" + android:fontFamily="@font/open_sans_font_family" + android:paddingStart="20dp" + android:paddingTop="12dp" + android:paddingEnd="20dp" + android:paddingBottom="12dp" + android:text="Instant mix" + android:textColor="@color/titleTextColor" + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:fontFamily="@font/open_sans_font_family" + android:paddingStart="20dp" + android:paddingTop="12dp" + android:paddingEnd="20dp" + android:paddingBottom="12dp" + android:text="Scarica" + android:textColor="@color/titleTextColor" + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> + android:textFontWeight="700" + android:textSize="14sp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/chip_search_filter_genre.xml b/app/src/main/res/layout/chip_search_filter_genre.xml index 3fa21c23..2cbdf161 100644 --- a/app/src/main/res/layout/chip_search_filter_genre.xml +++ b/app/src/main/res/layout/chip_search_filter_genre.xml @@ -4,6 +4,7 @@ style="@style/Widget.MaterialComponents.Chip.Choice" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:checkable="true" android:fontFamily="@font/open_sans_font_family" android:gravity="center" android:paddingLeft="8dp" @@ -12,5 +13,4 @@ android:textColor="@color/titleTextColor" app:chipBackgroundColor="@color/color_chip_status" app:chipStrokeColor="@color/chipBorderColor" - app:chipStrokeWidth="1.5dp" - android:checkable="true"/> \ No newline at end of file + app:chipStrokeWidth="1.5dp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_album_catalogue.xml b/app/src/main/res/layout/fragment_album_catalogue.xml index 8835f55c..266fc6e2 100644 --- a/app/src/main/res/layout/fragment_album_catalogue.xml +++ b/app/src/main/res/layout/fragment_album_catalogue.xml @@ -1,6 +1,5 @@ - + app:navigationIcon="@drawable/ic_arrow_back" /> + app:layout_constraintStart_toEndOf="parent" /> diff --git a/app/src/main/res/layout/fragment_artist_catalogue.xml b/app/src/main/res/layout/fragment_artist_catalogue.xml index 4a0c478d..73fc0e7b 100644 --- a/app/src/main/res/layout/fragment_artist_catalogue.xml +++ b/app/src/main/res/layout/fragment_artist_catalogue.xml @@ -1,6 +1,5 @@ - + app:titleTextColor="@color/titleTextColor" /> + app:layout_constraintStart_toEndOf="parent" /> @@ -56,7 +55,7 @@ android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingBottom="@dimen/global_padding_bottom" - app:layout_behavior="@string/appbar_scrolling_view_behavior"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_filter.xml b/app/src/main/res/layout/fragment_filter.xml index f0576cf4..e48a9eb7 100644 --- a/app/src/main/res/layout/fragment_filter.xml +++ b/app/src/main/res/layout/fragment_filter.xml @@ -1,6 +1,5 @@ - + app:navigationIcon="@drawable/ic_arrow_back" /> + android:text="Filter Genres" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> @@ -64,27 +63,27 @@ style="@style/Widget.AppCompat.ProgressBar.Horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_gravity="center" android:indeterminate="true" - android:minWidth="128dp" - android:layout_gravity="center" /> + android:minWidth="128dp" /> + android:visibility="gone" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + android:paddingBottom="@dimen/global_padding_bottom" + app:singleSelection="false" /> diff --git a/app/src/main/res/layout/fragment_genre_catalogue.xml b/app/src/main/res/layout/fragment_genre_catalogue.xml index 1c51ed0a..f32cd83a 100644 --- a/app/src/main/res/layout/fragment_genre_catalogue.xml +++ b/app/src/main/res/layout/fragment_genre_catalogue.xml @@ -1,6 +1,5 @@ - + app:navigationIcon="@drawable/ic_arrow_back" /> + android:text="Browse Genres" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" /> @@ -67,7 +66,7 @@ android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingBottom="@dimen/global_padding_bottom" - app:layout_behavior="@string/appbar_scrolling_view_behavior"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_landing.xml b/app/src/main/res/layout/fragment_landing.xml index a667e6e0..3be63ee7 100644 --- a/app/src/main/res/layout/fragment_landing.xml +++ b/app/src/main/res/layout/fragment_landing.xml @@ -3,5 +3,4 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context=".ui.fragment.LandingFragment"> - \ No newline at end of file + tools:context=".ui.fragment.LandingFragment" /> \ 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 4ffcc40f..6d105305 100644 --- a/app/src/main/res/layout/fragment_library.xml +++ b/app/src/main/res/layout/fragment_library.xml @@ -1,6 +1,5 @@ - + android:text="Albums" /> + android:text="See all" /> @@ -94,27 +91,25 @@ android:paddingEnd="8dp"> + android:text="Artists" /> + android:text="See all" /> @@ -155,27 +150,25 @@ android:paddingEnd="8dp"> + android:text="Genres" /> + android:text="See all" /> + android:paddingEnd="8dp" /> @@ -215,27 +208,25 @@ android:paddingEnd="8dp"> + android:text="Playlists" /> + android:text="See all" /> diff --git a/app/src/main/res/layout/fragment_player_bottom_sheet.xml b/app/src/main/res/layout/fragment_player_bottom_sheet.xml index 3cd95fbd..c4026c15 100644 --- a/app/src/main/res/layout/fragment_player_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_player_bottom_sheet.xml @@ -1,6 +1,5 @@ - + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_playlist_catalogue.xml b/app/src/main/res/layout/fragment_playlist_catalogue.xml index 4abc0d1a..9c612a8d 100644 --- a/app/src/main/res/layout/fragment_playlist_catalogue.xml +++ b/app/src/main/res/layout/fragment_playlist_catalogue.xml @@ -1,6 +1,5 @@ - + app:navigationIcon="@drawable/ic_arrow_back" /> + app:layout_constraintStart_toEndOf="parent" /> @@ -54,7 +53,7 @@ android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingBottom="@dimen/global_padding_bottom" - app:layout_behavior="@string/appbar_scrolling_view_behavior"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> diff --git a/app/src/main/res/layout/fragment_playlist_page.xml b/app/src/main/res/layout/fragment_playlist_page.xml index 273be5ef..0a0de2f1 100644 --- a/app/src/main/res/layout/fragment_playlist_page.xml +++ b/app/src/main/res/layout/fragment_playlist_page.xml @@ -1,6 +1,5 @@ - @@ -33,16 +32,16 @@ android:layout_width="match_parent" android:layout_height="@dimen/appbar_header_height" android:layout_gravity="top" - android:fitsSystemWindows="true" - android:background="@drawable/gradient_backdrop_background_image"/> + android:background="@drawable/gradient_backdrop_background_image" + android:fitsSystemWindows="true" /> + app:popupTheme="@style/ThemeOverlay.MaterialComponents.Light" + app:titleTextColor="@color/titleTextColor" /> @@ -54,6 +53,6 @@ android:clipToPadding="false" android:paddingTop="18dp" android:paddingBottom="@dimen/global_padding_bottom" - app:layout_behavior="@string/appbar_scrolling_view_behavior"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml index ca5cfa7c..4b7da67d 100644 --- a/app/src/main/res/layout/fragment_search.xml +++ b/app/src/main/res/layout/fragment_search.xml @@ -29,18 +29,17 @@ app:queryInputHintColor="@color/hintTextColor" app:queryInputTextColor="@color/hintTextColor" app:shouldDimBehind="true" - app:suggestionIconColor="@color/suggestionIconColor" app:suggestionRecentSearchIconColor="@color/suggestionIconColor" app:suggestionSearchSuggestionIconColor="@color/suggestionIconColor" - app:suggestionTextColor="@color/suggestionTextColor" - app:suggestionSelectedTextColor="@color/suggestionSelectedTextColor" /> + app:suggestionSelectedTextColor="@color/suggestionSelectedTextColor" + app:suggestionTextColor="@color/suggestionTextColor" /> + android:layout_below="@id/persistentSearchView"> + android:text="Songs" /> + android:text="Albums" /> + android:text="Artists" /> + android:text="Genres" /> - - \ No newline at end of file + android:paddingBottom="@dimen/global_padding_bottom" /> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_song_list_page.xml b/app/src/main/res/layout/fragment_song_list_page.xml index 1901bd08..011a07fa 100644 --- a/app/src/main/res/layout/fragment_song_list_page.xml +++ b/app/src/main/res/layout/fragment_song_list_page.xml @@ -1,6 +1,5 @@ - + app:navigationIcon="@drawable/ic_arrow_back" /> + app:layout_constraintStart_toEndOf="parent" /> @@ -55,7 +54,7 @@ android:layout_marginBottom="8dp" android:clipToPadding="false" android:paddingBottom="@dimen/global_padding_bottom" - app:layout_behavior="@string/appbar_scrolling_view_behavior"/> + app:layout_behavior="@string/appbar_scrolling_view_behavior" /> diff --git a/app/src/main/res/layout/fragment_sync.xml b/app/src/main/res/layout/fragment_sync.xml index 985dc34e..062b9315 100644 --- a/app/src/main/res/layout/fragment_sync.xml +++ b/app/src/main/res/layout/fragment_sync.xml @@ -12,9 +12,9 @@ android:layout_gravity="center" android:indeterminate="false" android:minWidth="128dp" + android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - android:visibility="gone"/> + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_artist_page_album.xml b/app/src/main/res/layout/item_artist_page_album.xml index e1e7ad33..323b145b 100644 --- a/app/src/main/res/layout/item_artist_page_album.xml +++ b/app/src/main/res/layout/item_artist_page_album.xml @@ -1,6 +1,5 @@ - + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@+id/artist_page_album_cover_image_view" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_home_discover_song.xml b/app/src/main/res/layout/item_home_discover_song.xml index 7f73ec7c..37d250f9 100644 --- a/app/src/main/res/layout/item_home_discover_song.xml +++ b/app/src/main/res/layout/item_home_discover_song.xml @@ -32,12 +32,11 @@ android:layout_marginTop="18dp" android:layout_marginRight="16dp" android:ellipsize="end" - android:maxLines="2" - android:fontFamily="@font/inter" - android:textSize="20sp" + android:maxLines="2" + android:textColor="@color/gradientTitleColor" android:textFontWeight="400" - android:textColor="@color/gradientTitleColor"/> + android:textSize="20sp" /> + android:textSize="14sp" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_home_track.xml b/app/src/main/res/layout/item_home_track.xml index 9451a4f7..d3acd33c 100644 --- a/app/src/main/res/layout/item_home_track.xml +++ b/app/src/main/res/layout/item_home_track.xml @@ -1,6 +1,5 @@ - + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@+id/track_cover_image_view" /> + app:layout_constraintTop_toBottomOf="@+id/title_track_label" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_home_year.xml b/app/src/main/res/layout/item_home_year.xml index ee4d23b5..b4db722d 100644 --- a/app/src/main/res/layout/item_home_year.xml +++ b/app/src/main/res/layout/item_home_year.xml @@ -6,8 +6,7 @@ android:paddingEnd="12dp" android:paddingBottom="8dp"> - + android:background="@color/colorAccent" /> + android:textAlignment="gravity" /> diff --git a/app/src/main/res/layout/item_library_album.xml b/app/src/main/res/layout/item_library_album.xml index ae51cd77..3b37a5f9 100644 --- a/app/src/main/res/layout/item_library_album.xml +++ b/app/src/main/res/layout/item_library_album.xml @@ -1,6 +1,5 @@ - + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@+id/album_cover_image_view" /> + app:layout_constraintTop_toBottomOf="@+id/album_name_label" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_library_artist.xml b/app/src/main/res/layout/item_library_artist.xml index 2bb1a1e6..3a3909a8 100644 --- a/app/src/main/res/layout/item_library_artist.xml +++ b/app/src/main/res/layout/item_library_artist.xml @@ -1,6 +1,5 @@ - + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@+id/artist_cover_image_view" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_library_catalogue_album.xml b/app/src/main/res/layout/item_library_catalogue_album.xml index bc1b40da..1d5dc65a 100644 --- a/app/src/main/res/layout/item_library_catalogue_album.xml +++ b/app/src/main/res/layout/item_library_catalogue_album.xml @@ -11,33 +11,29 @@ app:layout_constraintDimensionRatio="W, 1:1" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/item_library_catalogue_artist.xml b/app/src/main/res/layout/item_library_catalogue_artist.xml index 3542142c..bef4bc7e 100644 --- a/app/src/main/res/layout/item_library_catalogue_artist.xml +++ b/app/src/main/res/layout/item_library_catalogue_artist.xml @@ -1,6 +1,5 @@ - @@ -12,10 +11,11 @@ app:layout_constraintDimensionRatio="W, 1:1" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> diff --git a/app/src/main/res/layout/item_library_catalogue_playlist.xml b/app/src/main/res/layout/item_library_catalogue_playlist.xml index a52b268c..0f7711ad 100644 --- a/app/src/main/res/layout/item_library_catalogue_playlist.xml +++ b/app/src/main/res/layout/item_library_catalogue_playlist.xml @@ -1,6 +1,5 @@ - - + android:background="@color/colorAccent" /> + android:textAlignment="gravity" /> diff --git a/app/src/main/res/layout/item_library_playlist.xml b/app/src/main/res/layout/item_library_playlist.xml index 0fa976e2..8d00972f 100644 --- a/app/src/main/res/layout/item_library_playlist.xml +++ b/app/src/main/res/layout/item_library_playlist.xml @@ -1,6 +1,5 @@ - - \ No newline at end of file + android:foreground="?android:attr/selectableItemBackground" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_player_queue_song.xml b/app/src/main/res/layout/item_player_queue_song.xml index f1bde45c..b24705d5 100644 --- a/app/src/main/res/layout/item_player_queue_song.xml +++ b/app/src/main/res/layout/item_player_queue_song.xml @@ -1,15 +1,14 @@ - + android:paddingBottom="3dp"> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toBottomOf="@+id/queue_song_title_text_view"> + android:text="@string/label_placeholder" /> + android:text="@string/label_dot_separator" /> + android:text="@string/label_placeholder" /> + app:layout_constraintTop_toTopOf="parent" /> \ No newline at end of file diff --git a/app/src/main/res/layout/item_search_result_song.xml b/app/src/main/res/layout/item_search_result_song.xml index f7304282..da493a6d 100644 --- a/app/src/main/res/layout/item_search_result_song.xml +++ b/app/src/main/res/layout/item_search_result_song.xml @@ -81,10 +81,10 @@ android:layout_gravity="center" android:layout_margin="8dp" android:background="@drawable/ic_check_circle" + android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/search_result_song_more_button" - app:layout_constraintTop_toTopOf="parent" - android:visibility="gone"/> + app:layout_constraintTop_toTopOf="parent" /> - + android:clipChildren="false" + android:elevation="2dp"> + app:layout_constraintTop_toTopOf="parent" /> @@ -55,8 +50,8 @@ android:layout_marginStart="12dp" android:layout_marginEnd="12dp" android:background="@drawable/button_play_pause_selector" - android:foreground="?android:attr/selectableItemBackgroundBorderless" android:checked="true" + android:foreground="?android:attr/selectableItemBackgroundBorderless" android:text="" android:textOff="" android:textOn="" @@ -74,19 +69,19 @@ android:foreground="?android:attr/selectableItemBackgroundBorderless" app:layout_constraintBottom_toTopOf="@+id/player_header_seek_bar" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent"/> + app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintStart_toStartOf="parent" /> \ No newline at end of file