PlayerAndroid/app/src/main/res/layout/abs_playlists.xml

206 lines
8.9 KiB
XML
Raw Normal View History

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"
2019-06-04 04:00:11 +00:00
xmlns:tools="http://schemas.android.com/tools"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="12dp">
2018-07-27 13:07:33 +00:00
2019-06-04 04:00:11 +00:00
2019-09-28 17:52:49 +00:00
<code.name.monkey.retromusic.views.CircularImageView
android:id="@+id/userImage"
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:civ_border="false"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
2019-10-09 14:34:01 +00:00
tools:srcCompat="@tools:sample/avatars" />
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:ellipsize="end"
android:text="@string/welcome"
android:textColor="?colorOnBackground"
app:layout_constraintStart_toEndOf="@+id/userImage"
app:layout_constraintTop_toTopOf="@+id/userImage" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/titleWelcome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:padding="0dp"
android:textAppearance="@style/TextViewHeadline5"
android:textColor="?colorOnPrimary"
2019-10-04 13:08:54 +00:00
android:textStyle="bold"
2019-09-28 17:52:49 +00:00
app:layout_constraintBottom_toBottomOf="@+id/userImage"
app:layout_constraintStart_toEndOf="@+id/userImage"
app:layout_constraintTop_toBottomOf="@+id/text"
tools:text="@string/app_name" />
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-10 14:02:24 +00:00
app:layout_constraintHorizontal_chainStyle="spread_inside"
2019-10-01 17:20:32 +00:00
app:layout_constraintEnd_toStartOf="@+id/lastAdded"
app:layout_constraintHorizontal_bias="0.5"
2019-09-28 17:52:49 +00:00
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/titleWelcome">
<code.name.monkey.retromusic.views.ColorIconsImageView
2019-10-01 17:20:32 +00:00
android:id="@+id/v1"
2019-09-28 17:52:49 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2019-10-10 18:57:44 +00:00
android:padding="@dimen/home_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"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_access_time_white_24dp" />
2019-09-29 08:57:27 +00:00
<com.google.android.material.textview.MaterialTextView
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"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/v1"
tools:text="Hemanth savarala kumar dai" />
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"
2019-09-28 17:52:49 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2019-10-10 18:57:44 +00:00
android:padding="@dimen/home_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"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_library_add_white_24dp" />
2018-07-27 13:07:33 +00:00
2019-09-29 08:57:27 +00:00
<com.google.android.material.textview.MaterialTextView
2019-10-01 17:20:32 +00:00
android:id="@+id/materialTextView"
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"
2019-10-01 17:20:32 +00:00
android:textColor="?colorOnSecondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/v2"
tools:text="Hemanth savarala" />
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"
2019-09-28 17:52:49 +00:00
android:layout_width="wrap_content"
2018-07-27 13:07:33 +00:00
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:layout_gravity="center"
2019-10-10 18:57:44 +00:00
android:padding="@dimen/home_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"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_trending_up_white_24dp" />
2019-09-29 08:57:27 +00:00
<com.google.android.material.textview.MaterialTextView
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
android:textColor="?colorOnSecondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/v3"
tools:text="Hemanth savarala" />
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"
2019-09-28 17:52:49 +00:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2019-10-10 18:57:44 +00:00
android:padding="@dimen/home_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"
2019-09-28 17:52:49 +00:00
app:srcCompat="@drawable/ic_shuffle_white_24dp" />
2019-09-29 08:57:27 +00:00
<com.google.android.material.textview.MaterialTextView
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"
2019-10-01 17:20:32 +00:00
android:textColor="?colorOnSecondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/v4"
tools:text="Hemanth savarala" />
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:id="@+id/shortcuts"
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>