2020-11-22 19:11:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
android:id="@+id/card_view"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:backgroundTint="@color/cardColor"
|
|
|
|
|
app:layout_constraintDimensionRatio="W, 4:5"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
|
|
<TextView
|
2020-11-23 09:28:20 +01:00
|
|
|
android:id="@+id/artist_name_label"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="40sp"
|
|
|
|
|
android:textStyle="bold"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:textAlignment="center"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:textFontWeight="900"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:paddingStart="20dp"
|
|
|
|
|
android:paddingEnd="20dp"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:paddingBottom="32dp"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
<!-- Label and button -->
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="Most Streamed Songs"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="22sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
2020-11-24 10:52:00 +01:00
|
|
|
android:id="@+id/most_streamed_song_text_view_clickable"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:text="See all"
|
|
|
|
|
android:textColor="@color/subtitleTextColor"
|
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/most_streamed_song_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
|
android:paddingBottom="8dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
|
android:text="Albums"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="22sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
|
android:id="@+id/albums_recycler_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
|
android:clipToPadding="false"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:paddingEnd="8dp"
|
2020-11-23 09:28:20 +01:00
|
|
|
android:paddingBottom="54dp" />
|
2020-11-22 19:11:38 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|