From f9ac2f26469e6e6da1f7e4308595ba3c6bee9c89 Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Wed, 29 Dec 2021 10:12:26 +0100 Subject: [PATCH] Edit playerBottomSheetLayout to include a PlayerControlView --- .idea/misc.xml | 3 +- .../drawable/button_play_pause_selector.xml | 4 +- .../layout/fragment_player_bottom_sheet.xml | 19 +-- .../res/layout/player_body_bottom_sheet.xml | 122 ++++++++++-------- .../res/layout/player_header_bottom_sheet.xml | 4 +- app/src/main/res/values-night/colors.xml | 4 + app/src/main/res/values/colors.xml | 4 + 7 files changed, 89 insertions(+), 71 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 61d0bd6a..2aa0a570 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -16,6 +16,7 @@ + @@ -114,7 +115,7 @@ - + diff --git a/app/src/main/res/drawable/button_play_pause_selector.xml b/app/src/main/res/drawable/button_play_pause_selector.xml index 0c3018c3..162ed47d 100644 --- a/app/src/main/res/drawable/button_play_pause_selector.xml +++ b/app/src/main/res/drawable/button_play_pause_selector.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file 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 c4026c15..44c5a0a2 100644 --- a/app/src/main/res/layout/fragment_player_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_player_bottom_sheet.xml @@ -11,6 +11,16 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> + + - - \ No newline at end of file diff --git a/app/src/main/res/layout/player_body_bottom_sheet.xml b/app/src/main/res/layout/player_body_bottom_sheet.xml index 49893221..9a95b1c5 100644 --- a/app/src/main/res/layout/player_body_bottom_sheet.xml +++ b/app/src/main/res/layout/player_body_bottom_sheet.xml @@ -65,41 +65,42 @@ android:id="@+id/player_big_timer" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="12dp" + android:layout_marginTop="22dp" android:orientation="horizontal"> - + app:bar_height="2dp" + app:buffered_color="@color/seekBarBufferedColor" + app:played_color="@color/seekBarPlayedColor" + app:scrubber_color="@color/seekBarPlayedColor" + app:scrubber_dragged_size="8dp" + app:unplayed_color="@color/seekBarUnPlayedColor" /> @@ -185,60 +186,67 @@ android:visibility="gone" app:cardElevation="0dp"> - + android:orientation="vertical"> - + - + - + + + + + + - + android:layout_marginEnd="18dp" /> + + - #1D1D1D #1D1D1D + + #7C00BB + #4C2A5D + #533364 diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 9a91a028..927d46c0 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -42,5 +42,9 @@ #F1F3F4 + #4B0089 + #D8C0E1 + #CCAED7 + \ No newline at end of file