|
@@ -0,0 +1,115 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
+ android:layout_width="271dp"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:background="@drawable/bg_white_14dp"
|
|
|
|
+ android:paddingStart="18dp"
|
|
|
|
+ android:paddingEnd="18dp"
|
|
|
|
+ android:paddingBottom="19dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:includeFontPadding="false"
|
|
|
|
+ android:paddingTop="14dp"
|
|
|
|
+ android:text="设置"
|
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
|
+ android:textSize="@dimen/sp_17"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_hz_tip"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
+ android:includeFontPadding="false"
|
|
|
|
+ android:text="A4=440Hz"
|
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_title" />
|
|
|
|
+
|
|
|
|
+ <ImageView
|
|
|
|
+ android:id="@+id/iv_hz_tip"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginStart="5dp"
|
|
|
|
+ android:src="@drawable/icon_music_hz_tip2"
|
|
|
|
+ android:visibility="gone"
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_hz_tip"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_hz_tip"
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_hz_tip" />
|
|
|
|
+
|
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
|
+ android:id="@+id/recyclerView"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:minHeight="256dp"
|
|
|
|
+ android:overScrollMode="never"
|
|
|
|
+ android:scrollbars="none"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_hz_tip" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/view_add"
|
|
|
|
+ android:layout_width="63dp"
|
|
|
|
+ android:layout_height="45dp"
|
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
|
+ android:background="@drawable/shape_f1f1f1_6dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="+"
|
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
|
+ android:textSize="@dimen/sp_25"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/recyclerView" />
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/view_reduce"
|
|
|
|
+ android:layout_width="63dp"
|
|
|
|
+ android:layout_height="45dp"
|
|
|
|
+ android:background="@drawable/shape_f1f1f1_6dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="-"
|
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
|
+ android:textSize="@dimen/sp_25"
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_add" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_current_music_position"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="45dp"
|
|
|
|
+ android:layout_marginStart="9dp"
|
|
|
|
+ android:layout_marginEnd="9dp"
|
|
|
|
+ android:background="@drawable/shape_979797_border_6dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="6"
|
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_add"
|
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/view_reduce"
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_add" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_confirm"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="40dp"
|
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
|
+ android:background="@drawable/shape_2dc7aa_6dp"
|
|
|
|
+ android:gravity="center"
|
|
|
|
+ android:text="确认"
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_add" />
|
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|