diff --git a/app/src/main/res/layout-land/fragment_album_details.xml b/app/src/main/res/layout-land/fragment_album_details.xml index 2a2d6d66..82f84575 100644 --- a/app/src/main/res/layout-land/fragment_album_details.xml +++ b/app/src/main/res/layout-land/fragment_album_details.xml @@ -5,10 +5,10 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="?attr/colorSurface" + android:fitsSystemWindows="true" android:orientation="vertical" android:transitionName="@string/transition_album_art" - tools:ignore="UnusedAttribute" - android:fitsSystemWindows="true"> + tools:ignore="UnusedAttribute"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + tools:srcCompat="@tools:sample/avatars" /> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + tools:srcCompat="@tools:sample/avatars" /> diff --git a/app/src/main/res/layout-sw600dp/item_list.xml b/app/src/main/res/layout-sw600dp/item_list.xml index cc09a2a4..7843e3c5 100644 --- a/app/src/main/res/layout-sw600dp/item_list.xml +++ b/app/src/main/res/layout-sw600dp/item_list.xml @@ -7,12 +7,12 @@ android:layout_marginStart="1dp" android:layout_marginEnd="1dp" android:layout_marginBottom="1dp" - android:paddingHorizontal="64dp" android:background="?rectSelector" android:clickable="true" android:focusable="true" android:minHeight="?attr/listPreferredItemHeight" android:orientation="horizontal" + android:paddingHorizontal="64dp" tools:ignore="MissingPrefix"> + android:fitsSystemWindows="true" + android:orientation="vertical" + tools:ignore="UnusedAttribute"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> diff --git a/app/src/main/res/layout/activity_playing_queue.xml b/app/src/main/res/layout/activity_playing_queue.xml index 3e98057f..8a0f5bd1 100755 --- a/app/src/main/res/layout/activity_playing_queue.xml +++ b/app/src/main/res/layout/activity_playing_queue.xml @@ -1,9 +1,10 @@ @@ -11,8 +11,8 @@ android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wrap_content" - app:liftOnScroll="true" - android:fitsSystemWindows="true"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + android:focusable="true" + android:focusableInTouchMode="true"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + android:baselineAligned="false" + android:orientation="horizontal"> diff --git a/app/src/main/res/layout/card_social.xml b/app/src/main/res/layout/card_social.xml index d20f1856..7eebc702 100644 --- a/app/src/main/res/layout/card_social.xml +++ b/app/src/main/res/layout/card_social.xml @@ -38,8 +38,8 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/sb3" app:listItemIcon="@drawable/ic_baseline" - app:listItemTitle="@string/website" - app:listItemSummary="@string/website_summary"/> + app:listItemSummary="@string/website_summary" + app:listItemTitle="@string/website" /> + android:orientation="vertical" + android:paddingTop="0dp"> + android:layout_height="1dp" + android:layout_centerVertical="true" + android:visibility="invisible" /> @@ -32,47 +32,47 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:layout_toLeftOf="@+id/button_1" - android:layout_toStartOf="@+id/button_1" + android:layout_marginEnd="@dimen/cast_mini_controller_control_button_margin" android:layout_marginRight="@dimen/cast_mini_controller_control_button_margin" - android:layout_marginEnd="@dimen/cast_mini_controller_control_button_margin" /> + android:layout_toStartOf="@+id/button_1" + android:layout_toLeftOf="@+id/button_1" /> + android:layout_toStartOf="@+id/button_2" + android:layout_toLeftOf="@+id/button_2" /> + android:layout_marginEnd="8dp" + android:layout_marginRight="8dp" /> @@ -100,8 +100,8 @@ android:layout_width="fill_parent" android:layout_height="5dp" android:layout_alignParentTop="true" - android:progressDrawable="@drawable/cast_mini_controller_progress_drawable" - android:layoutDirection="ltr" /> + android:layoutDirection="ltr" + android:progressDrawable="@drawable/cast_mini_controller_progress_drawable" /> diff --git a/app/src/main/res/layout/dialog_file_details.xml b/app/src/main/res/layout/dialog_file_details.xml index c31152fe..1bc23701 100644 --- a/app/src/main/res/layout/dialog_file_details.xml +++ b/app/src/main/res/layout/dialog_file_details.xml @@ -11,8 +11,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingStart="16dp" - android:paddingEnd="16dp" android:paddingTop="16dp" + android:paddingEnd="16dp" android:textAppearance="@style/TextViewNormal" android:textColor="?android:attr/textColorPrimary" android:textSize="16sp" /> diff --git a/app/src/main/res/layout/fragment_adaptive_player_playback_controls.xml b/app/src/main/res/layout/fragment_adaptive_player_playback_controls.xml index 4e70d0f5..0938629a 100644 --- a/app/src/main/res/layout/fragment_adaptive_player_playback_controls.xml +++ b/app/src/main/res/layout/fragment_adaptive_player_playback_controls.xml @@ -25,9 +25,9 @@ diff --git a/app/src/main/res/layout/fragment_artist_content.xml b/app/src/main/res/layout/fragment_artist_content.xml index 28be0883..a1f76d18 100644 --- a/app/src/main/res/layout/fragment_artist_content.xml +++ b/app/src/main/res/layout/fragment_artist_content.xml @@ -15,8 +15,8 @@ android:layout_marginEnd="4dp" android:paddingTop="10dp" android:paddingBottom="10dp" - android:textAppearance="@style/TextViewButton" android:text="@string/action_play_all" + android:textAppearance="@style/TextViewButton" android:textColor="?android:attr/textColorPrimary" app:backgroundTint="?attr/colorSurface" app:cornerRadius="8dp" @@ -35,8 +35,8 @@ android:layout_marginEnd="16dp" android:paddingTop="10dp" android:paddingBottom="10dp" - android:textAppearance="@style/TextViewButton" android:text="@string/shuffle" + android:textAppearance="@style/TextViewButton" android:textColor="?android:attr/textColorPrimary" app:backgroundTint="?attr/colorSurface" app:cornerRadius="8dp" diff --git a/app/src/main/res/layout/fragment_artist_details.xml b/app/src/main/res/layout/fragment_artist_details.xml index e7b55e52..4b0a4902 100644 --- a/app/src/main/res/layout/fragment_artist_details.xml +++ b/app/src/main/res/layout/fragment_artist_details.xml @@ -33,9 +33,9 @@ android:id="@+id/container" android:layout_width="match_parent" android:layout_height="wrap_content" - android:overScrollMode="never" android:descendantFocusability="beforeDescendants" android:focusableInTouchMode="true" + android:overScrollMode="never" app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"> - - @@ -62,41 +62,38 @@ tools:ignore="RtlHardcoded,RtlSymmetry" tools:text="@tools:sample/date/hhmmss" /> - + diff --git a/app/src/main/res/layout/fragment_card_blur_player_playback_controls.xml b/app/src/main/res/layout/fragment_card_blur_player_playback_controls.xml index b00dcdfd..c0b591a2 100644 --- a/app/src/main/res/layout/fragment_card_blur_player_playback_controls.xml +++ b/app/src/main/res/layout/fragment_card_blur_player_playback_controls.xml @@ -57,11 +57,11 @@ @@ -97,9 +97,9 @@ android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:clickable="true" android:ellipsize="marquee" android:focusable="true" - android:clickable="true" android:freezesText="true" android:marqueeRepeatLimit="marquee_forever" android:scrollHorizontally="true" @@ -112,8 +112,8 @@ android:id="@+id/text" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:ellipsize="marquee" android:clickable="true" + android:ellipsize="marquee" android:focusable="true" android:freezesText="true" android:marqueeRepeatLimit="marquee_forever" diff --git a/app/src/main/res/layout/fragment_classic_player.xml b/app/src/main/res/layout/fragment_classic_player.xml index bc2dfc3d..e1c68189 100644 --- a/app/src/main/res/layout/fragment_classic_player.xml +++ b/app/src/main/res/layout/fragment_classic_player.xml @@ -95,9 +95,9 @@ android:id="@+id/title" android:layout_width="match_parent" android:layout_height="wrap_content" + android:clickable="true" android:ellipsize="marquee" android:focusable="true" - android:clickable="true" android:freezesText="true" android:marqueeRepeatLimit="marquee_forever" android:paddingHorizontal="16dp" @@ -113,10 +113,10 @@ android:id="@+id/text" android:layout_width="match_parent" android:layout_height="wrap_content" - android:ellipsize="end" - android:maxLines="1" android:clickable="true" + android:ellipsize="end" android:focusable="true" + android:maxLines="1" android:paddingHorizontal="16dp" android:textAppearance="@style/TextViewBody1" android:textColor="?android:attr/textColorSecondary" diff --git a/app/src/main/res/layout/fragment_color_player.xml b/app/src/main/res/layout/fragment_color_player.xml index 9c544044..8bb06719 100644 --- a/app/src/main/res/layout/fragment_color_player.xml +++ b/app/src/main/res/layout/fragment_color_player.xml @@ -31,7 +31,7 @@ - - - - - - + app:layout_constraintTop_toBottomOf="@+id/text"> + android:fitsSystemWindows="true" + android:transitionGroup="true"> - - @@ -96,10 +96,10 @@ diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index e4100c67..60e3cbd4 100755 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -23,8 +23,8 @@ android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wrap_content" - app:liftOnScroll="true" - android:fitsSystemWindows="true"> + android:fitsSystemWindows="true" + app:liftOnScroll="true"> + tools:srcCompat="@tools:sample/avatars" /> - diff --git a/app/src/main/res/layout/fragment_main_recycler.xml b/app/src/main/res/layout/fragment_main_recycler.xml index 9ffa424c..d4af55c9 100644 --- a/app/src/main/res/layout/fragment_main_recycler.xml +++ b/app/src/main/res/layout/fragment_main_recycler.xml @@ -38,7 +38,7 @@ + android:layout_height="@dimen/toolbar_height" /> diff --git a/app/src/main/res/layout/fragment_peak_player.xml b/app/src/main/res/layout/fragment_peak_player.xml index b954f397..3b9dc78c 100644 --- a/app/src/main/res/layout/fragment_peak_player.xml +++ b/app/src/main/res/layout/fragment_peak_player.xml @@ -47,7 +47,7 @@ - - + - - - + app:layout_constraintTop_toBottomOf="@id/statusBarContainer" /> - + + android:fitsSystemWindows="true" + android:transitionGroup="true"> + android:fitsSystemWindows="true" + android:orientation="vertical"> diff --git a/app/src/main/res/layout/fragment_simple_player.xml b/app/src/main/res/layout/fragment_simple_player.xml index a7a8a139..ff6892a2 100644 --- a/app/src/main/res/layout/fragment_simple_player.xml +++ b/app/src/main/res/layout/fragment_simple_player.xml @@ -25,7 +25,7 @@ - - - - + android:fitsSystemWindows="true" + android:orientation="vertical"> diff --git a/app/src/main/res/layout/item_permission.xml b/app/src/main/res/layout/item_permission.xml index 17d80684..b4be1a71 100644 --- a/app/src/main/res/layout/item_permission.xml +++ b/app/src/main/res/layout/item_permission.xml @@ -15,16 +15,16 @@ android:id="@+id/number" android:layout_width="24dp" android:layout_height="24dp" - android:layout_marginTop="4dp" android:layout_marginStart="16dp" + android:layout_marginTop="4dp" android:background="@drawable/color_circle_gradient" android:gravity="center" android:maxLines="3" - tools:text="1" android:textAppearance="@style/TextViewButton" app:layout_constraintBottom_toBottomOf="@id/title" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="@id/title" /> + app:layout_constraintTop_toTopOf="@id/title" + tools:text="1" /> diff --git a/app/src/main/res/layout/list_item_view_no_card.xml b/app/src/main/res/layout/list_item_view_no_card.xml index df7a9878..f7ab4c2e 100644 --- a/app/src/main/res/layout/list_item_view_no_card.xml +++ b/app/src/main/res/layout/list_item_view_no_card.xml @@ -55,12 +55,12 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginTop="2dp" + android:textAppearance="@style/TextViewNormal" android:textColor="?android:attr/textColorSecondary" app:layout_constrainedWidth="true" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@+id/guideline_front_margin" app:layout_constraintTop_toBottomOf="@android:id/title" - android:textAppearance="@style/TextViewNormal" tools:maxLines="2" tools:text="@tools:sample/lorem/random" /> diff --git a/app/src/main/res/layout/section_recycler_view.xml b/app/src/main/res/layout/section_recycler_view.xml index 1b9b26e7..9ec8eee7 100644 --- a/app/src/main/res/layout/section_recycler_view.xml +++ b/app/src/main/res/layout/section_recycler_view.xml @@ -4,15 +4,15 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="vertical" > + android:orientation="vertical"> + android:layout="@layout/cast_controller_layout" /> diff --git a/app/src/main/res/layout/sub_header.xml b/app/src/main/res/layout/sub_header.xml index 5b066f07..18e3dc58 100644 --- a/app/src/main/res/layout/sub_header.xml +++ b/app/src/main/res/layout/sub_header.xml @@ -5,9 +5,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="start" - android:gravity="start" android:layout_marginStart="@dimen/toolbar_margin_horizontal" android:layout_marginEnd="@dimen/toolbar_margin_horizontal" + android:gravity="start" android:paddingVertical="12dp" android:textAppearance="@style/TextViewOverline" android:textStyle="bold"