mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Implemented the saving and loading functionality of the queue from the server
This commit is contained in:
parent
cbb6239b90
commit
f5a3ba49cc
13 changed files with 223 additions and 16 deletions
9
app/src/main/res/drawable/ic_bookmark.xml
Normal file
9
app/src/main/res/drawable/ic_bookmark.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/titleTextColor"
|
||||
android:pathData="M5,21V5Q5,4.175 5.588,3.587Q6.175,3 7,3H17Q17.825,3 18.413,3.587Q19,4.175 19,5V21L12,18Z" />
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_bookmark_sync.xml
Normal file
9
app/src/main/res/drawable/ic_bookmark_sync.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@color/titleTextColor"
|
||||
android:pathData="M4,20V18H6.725Q5.45,16.9 4.725,15.35Q4,13.8 4,12Q4,9.2 5.7,7.062Q7.4,4.925 10,4.25V6.35Q8.25,6.975 7.125,8.512Q6,10.05 6,12Q6,13.35 6.537,14.488Q7.075,15.625 8,16.45V14H10V20ZM15,20Q13.75,20 12.875,19.125Q12,18.25 12,17Q12,15.8 12.825,14.938Q13.65,14.075 14.85,14.025Q15.275,13.125 16.113,12.562Q16.95,12 18,12Q19.325,12 20.288,12.863Q21.25,13.725 21.45,15Q22.5,15 23.25,15.725Q24,16.45 24,17.475Q24,18.525 23.275,19.262Q22.55,20 21.5,20ZM17.9,11Q17.725,9.975 17.225,9.1Q16.725,8.225 16,7.55V10H14V4H20V6H17.275Q18.35,6.95 19.038,8.225Q19.725,9.5 19.925,11Z" />
|
||||
</vector>
|
||||
|
|
@ -60,6 +60,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="28dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@
|
|||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
app:cornerRadius="30dp"
|
||||
app:icon="@drawable/ic_lyrics"
|
||||
app:icon="@drawable/ic_bookmark"
|
||||
app:layout_constraintStart_toEndOf="@+id/vertical_guideline"
|
||||
app:layout_constraintTop_toBottomOf="@+id/horizontal_guideline" />
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,18 @@
|
|||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/player_header_bookmark_media_button"
|
||||
android:layout_width="28dp"
|
||||
android:layout_height="28dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:background="@drawable/ic_bookmark_sync"
|
||||
android:foreground="?android:attr/selectableItemBackgroundBorderless"
|
||||
app:layout_constraintBottom_toTopOf="@+id/player_header_seek_bar"
|
||||
app:layout_constraintEnd_toStartOf="@+id/player_header_button"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/player_header_rewind_media_button"
|
||||
android:layout_width="28dp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue