|
@@ -0,0 +1,121 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ tools:background="#000"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ app:layout_constraintDimensionRatio="h,360,541"
|
|
|
+ android:layout_height="500dp"
|
|
|
+ android:background="@drawable/shape_white_top_20">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tvTitle"
|
|
|
+ android:textSize="17dp"
|
|
|
+ android:textColor="#131b23"
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:text="My Music"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ivClose"
|
|
|
+ android:src="@mipmap/ic_music_close"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"/>
|
|
|
+
|
|
|
+ <com.swago.baseswago.cusview.SwagoRecyclerView
|
|
|
+ android:id="@+id/swagoRv"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvTitle"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/cl_add"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"/>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cl_add"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="24dp"
|
|
|
+ android:layout_marginStart="24dp"
|
|
|
+ android:background="@drawable/shape_9b20fc_20">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:background="@mipmap/ic_add_music"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_add"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_add"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Add Music"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/clNoContent"
|
|
|
+ android:layout_width="140dp"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ android:layout_marginBottom="80dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:background="@drawable/shape_9b20fc_20">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ android:background="@mipmap/ic_add_music"
|
|
|
+ android:layout_marginEnd="@dimen/dp_4"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_no_add"
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_no_add"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="Add Music"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|