|
@@ -5,33 +5,57 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/search_view"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/search_view"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/search_view"
|
|
|
+ android:gravity="center"
|
|
|
+ android:background="@drawable/shape_f8f8f8_14dp_border_1dp"
|
|
|
+ android:id="@+id/view_subject"
|
|
|
+ android:layout_width="82dp"
|
|
|
+ android:layout_height="28dp"/>
|
|
|
+
|
|
|
<TextView
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/iv_arrow_down"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_subject"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_subject"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_subject"
|
|
|
android:id="@+id/tv_agency"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="0dp"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
- android:drawableRight="@drawable/icon_arrow_down"
|
|
|
- android:drawablePadding="6dp"
|
|
|
android:ellipsize="end"
|
|
|
android:gravity="center"
|
|
|
android:includeFontPadding="false"
|
|
|
android:maxLines="1"
|
|
|
android:text="声部"
|
|
|
- android:textColor="@color/color_666666"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ tools:text="声部声部声部声部"
|
|
|
+ android:textColor="@color/color_999999"
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/search_view"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toLeftOf="@+id/search_view"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/search_view" />
|
|
|
+ />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_subject"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_subject"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_subject"
|
|
|
+ android:id="@+id/iv_arrow_down"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:src="@drawable/icon_arrow_down"
|
|
|
+ app:tint="@color/color_2dc7aa" />
|
|
|
|
|
|
<View
|
|
|
android:id="@+id/search_view"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="@dimen/dp_36"
|
|
|
+ android:layout_height="@dimen/dp_28"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
- android:layout_marginStart="5dp"
|
|
|
- android:background="@drawable/bg_white_18dp"
|
|
|
- app:layout_constraintLeft_toRightOf="@+id/tv_agency"
|
|
|
+ android:background="@drawable/shape_f8f8f8_14dp_border_1dp"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/view_subject"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
@@ -48,26 +72,26 @@
|
|
|
<EditText
|
|
|
android:id="@+id/search_edit"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="@dimen/dp_36"
|
|
|
+ android:layout_height="@dimen/dp_28"
|
|
|
android:background="@color/transparent"
|
|
|
android:hint="请输入曲目名称"
|
|
|
android:paddingLeft="@dimen/dp_41"
|
|
|
android:textColor="@color/color_333333"
|
|
|
android:textColorHint="@color/color_999999"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
app:layout_constraintLeft_toLeftOf="@+id/search_view"
|
|
|
app:layout_constraintRight_toLeftOf="@+id/search_btn"
|
|
|
app:layout_constraintTop_toTopOf="@+id/search_view" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/search_btn"
|
|
|
- android:layout_width="@dimen/dp_56"
|
|
|
- android:layout_height="@dimen/dp_28"
|
|
|
+ android:layout_width="@dimen/dp_37"
|
|
|
+ android:layout_height="@dimen/dp_26"
|
|
|
android:layout_marginRight="@dimen/dp_4"
|
|
|
- android:background="@drawable/shape_click_btn"
|
|
|
+ android:background="@drawable/bg_white_13dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/search"
|
|
|
- android:textColor="@color/white"
|
|
|
+ android:text="搜"
|
|
|
+ android:textColor="@color/color_2dc7aa"
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/search_view"
|
|
|
app:layout_constraintRight_toRightOf="@id/search_view"
|