|
@@ -0,0 +1,183 @@
|
|
|
+<?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="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
+ android:id="@+id/cs_des"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:layout_marginBottom="12dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/bg_white_6dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_tag"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:src="@drawable/icon_vip_custom_course_des_tag"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_des_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="6dp"
|
|
|
+ android:text="什么是VIP定制课?"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_tag"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_tag"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_tag" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_close_des"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="13dp"
|
|
|
+ android:src="@drawable/icon_close_gray"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_des_title"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/tv_des_title" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_des"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingStart="13dp"
|
|
|
+ android:paddingTop="10dp"
|
|
|
+ android:paddingEnd="13dp"
|
|
|
+ android:text="@string/vip_custom_course_des"
|
|
|
+ android:textColor="@color/color_777777"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_des_title" />
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_line"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginStart="13dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="13dp"
|
|
|
+ android:background="@color/color_f2f2f2"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_des" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_not_remind"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="38dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="不再提醒"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_line" />
|
|
|
+
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:id="@+id/fl_setting"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="36dp"
|
|
|
+ android:background="@drawable/shape_2dc7aa_51e1d0_6dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cs_des">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_confirm"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:drawableStart="@drawable/icon_upload_music_sheet_tag"
|
|
|
+ android:drawablePadding="4dp"
|
|
|
+ android:text="@string/upload_music_sheet_str"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_15" />
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:drawableRight="@drawable/icon_arrow_down"
|
|
|
+ android:id="@+id/tv_filter"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:drawablePadding="5dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:gravity="center"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:maxLength="6"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="全部声部"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_search_bg" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_search_bg"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="34dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:background="@drawable/bg_white_18dp"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_filter"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/fl_setting" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_search_icon"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:src="@drawable/icon_search"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_search_bg" />
|
|
|
+
|
|
|
+ <com.cooleshow.base.widgets.ClearEditText
|
|
|
+ android:id="@+id/et_target_name"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:hint="请输入曲目关键词"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:paddingStart="8dp"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:theme="@style/MyEditText"
|
|
|
+ android:textCursorDrawable="@drawable/shape_2dc7aa_1dp"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/iv_search_icon"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_search"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_search_bg" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_search"
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="28dp"
|
|
|
+ android:layout_marginEnd="3dp"
|
|
|
+ android:background="@drawable/shape_1ecdac_18dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="搜索"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_search_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_search_bg" />
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|