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

159 lines
6.3 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"
2019-09-28 17:52:49 +00:00
android:paddingStart="@dimen/horizontal_padding_home"
android:paddingEnd="@dimen/horizontal_padding_home"
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"
tools:srcCompat="@tools:sample/backgrounds/scenic[5]" />
<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"
app:layout_constraintBottom_toBottomOf="@+id/userImage"
app:layout_constraintStart_toEndOf="@+id/userImage"
app:layout_constraintTop_toBottomOf="@+id/text"
tools:text="@string/app_name" />
2019-06-04 04:00:11 +00:00
<LinearLayout
2019-09-28 17:52:49 +00:00
android:id="@+id/history"
android:layout_width="wrap_content"
2019-06-04 04:00:11 +00:00
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:orientation="vertical"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/titleWelcome">
<code.name.monkey.retromusic.views.ColorIconsImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
app:iconBackgroundColor="@color/md_blue_500"
app:srcCompat="@drawable/ic_access_time_white_24dp" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2019-06-04 04:00:11 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center"
android:paddingTop="8dp"
android:text="@string/history" />
2019-06-04 04:00:11 +00:00
</LinearLayout>
2018-07-27 13:07:33 +00:00
<LinearLayout
2019-09-28 17:52:49 +00:00
android:id="@+id/lastAdded"
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_marginTop="24dp"
android:orientation="vertical"
app:layout_constraintEnd_toStartOf="@+id/topPlayed"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/history"
app:layout_constraintTop_toBottomOf="@+id/titleWelcome">
<code.name.monkey.retromusic.views.ColorIconsImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
app:iconBackgroundColor="@color/md_red_500"
app:srcCompat="@drawable/ic_library_add_white_24dp" />
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center"
android:paddingTop="8dp"
android:text="@string/last_added" />
</LinearLayout>
<LinearLayout
android:id="@+id/topPlayed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:orientation="vertical"
app:layout_constraintEnd_toStartOf="@+id/actionShuffle"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/lastAdded"
app:layout_constraintTop_toBottomOf="@+id/titleWelcome">
<code.name.monkey.retromusic.views.ColorIconsImageView
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"
android:padding="16dp"
app:iconBackgroundColor="@color/md_deep_purple_500"
app:srcCompat="@drawable/ic_trending_up_white_24dp" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center"
android:paddingTop="8dp"
android:text="@string/my_top_tracks" />
</LinearLayout>
<LinearLayout
android:id="@+id/actionShuffle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:layout_marginEnd="16dp"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/titleWelcome">
<code.name.monkey.retromusic.views.ColorIconsImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="16dp"
app:iconBackgroundColor="@color/md_green_500"
app:srcCompat="@drawable/ic_shuffle_white_24dp" />
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center"
android:paddingTop="8dp"
android:text="@string/shuffle" />
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>