2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-28 17:52:49 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:07:33 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-06-03 06:37:54 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="12dp">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2019-09-28 17:52:49 +00:00
|
|
|
android:id="@+id/history"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_width="0dp"
|
2019-06-04 04:00:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_marginTop="24dp"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/lastAdded"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
2019-12-01 15:27:01 +00:00
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-01 15:27:01 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2019-09-28 17:52:49 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2019-10-01 17:20:32 +00:00
|
|
|
android:id="@+id/v1"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:layout_width="@dimen/adaptive_icon_size"
|
|
|
|
android:layout_height="@dimen/adaptive_icon_size"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_gravity="center"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:padding="@dimen/adaptive_icon_padding"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:iconBackgroundColor="@color/md_blue_500"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_history" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-09-29 08:57:27 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-09-29 16:12:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
2019-06-04 04:00:11 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:text="@string/history"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:textAppearance="@style/TextViewNormalCompress"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-26 18:38:19 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/v1" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2019-06-04 04:00:11 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2019-09-28 17:52:49 +00:00
|
|
|
android:id="@+id/lastAdded"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_width="0dp"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@+id/topPlayed"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/history"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/history">
|
2019-09-28 17:52:49 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2019-10-01 17:20:32 +00:00
|
|
|
android:id="@+id/v2"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:layout_width="@dimen/adaptive_icon_size"
|
|
|
|
android:layout_height="@dimen/adaptive_icon_size"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_gravity="center"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:padding="@dimen/adaptive_icon_padding"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:iconBackgroundColor="@color/md_red_500"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_library_add" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-09-29 08:57:27 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-09-29 16:12:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-09-29 08:57:27 +00:00
|
|
|
android:text="@string/last_added"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:textAppearance="@style/TextViewNormalCompress"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-26 18:38:19 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/v2" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2019-09-28 17:52:49 +00:00
|
|
|
android:id="@+id/topPlayed"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/actionShuffle"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/lastAdded"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@+id/lastAdded">
|
2019-09-28 17:52:49 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2019-10-01 17:20:32 +00:00
|
|
|
android:id="@+id/v3"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:layout_width="@dimen/adaptive_icon_size"
|
|
|
|
android:layout_height="@dimen/adaptive_icon_size"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_gravity="center"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:padding="@dimen/adaptive_icon_padding"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:iconBackgroundColor="@color/md_deep_purple_500"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_trending_up" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-09-29 08:57:27 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-09-29 16:12:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-09-29 08:57:27 +00:00
|
|
|
android:text="@string/my_top_tracks"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-26 18:38:19 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/v3" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2019-09-28 17:52:49 +00:00
|
|
|
android:id="@+id/actionShuffle"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_width="0dp"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/topPlayed"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/topPlayed">
|
2019-09-28 17:52:49 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.ColorIconsImageView
|
2019-10-01 17:20:32 +00:00
|
|
|
android:id="@+id/v4"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:layout_width="@dimen/adaptive_icon_size"
|
|
|
|
android:layout_height="@dimen/adaptive_icon_size"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:layout_gravity="center"
|
2020-03-02 17:26:03 +00:00
|
|
|
android:padding="@dimen/adaptive_icon_padding"
|
2019-09-28 17:52:49 +00:00
|
|
|
app:iconBackgroundColor="@color/md_green_500"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-07-19 21:00:30 +00:00
|
|
|
app:srcCompat="@drawable/ic_shuffle" />
|
2019-09-28 17:52:49 +00:00
|
|
|
|
2019-09-29 08:57:27 +00:00
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2019-09-29 16:12:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-10-01 17:20:32 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:ellipsize="end"
|
2019-09-28 17:52:49 +00:00
|
|
|
android:gravity="center"
|
|
|
|
android:paddingTop="8dp"
|
2019-09-29 08:57:27 +00:00
|
|
|
android:text="@string/shuffle"
|
2021-09-08 18:30:20 +00:00
|
|
|
android:textAppearance="@style/TextViewNormalCompress"
|
2019-10-01 17:20:32 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2019-12-26 18:38:19 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/v4" />
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2019-10-01 17:20:32 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2019-10-09 12:52:02 +00:00
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:constraint_referenced_ids="history,lastAdded,topPlayed,actionShuffle" />
|
2019-09-28 17:52:49 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|