|
@@ -0,0 +1,104 @@
|
|
|
+<?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"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
+ <include
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:id="@+id/toolbar_include"
|
|
|
+ layout="@layout/common_toolbar_layout" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_metronome_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="114dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:background="@drawable/shape_small_tool_metronome_bg"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar_include" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_metronome_title"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:layout_marginStart="24dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_metronome_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_metronome_bg"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:textColor="@color/color_006d58"
|
|
|
+ android:text="节拍器"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_metronome_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_metronome_bg"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_metronome_bg"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:src="@drawable/icon_metronome_enter_bg"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="114dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:textColor="@color/color_006d58"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_metronome_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_metronome_title"
|
|
|
+ android:text="节拍器,练习好节奏"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_music_tuner_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="114dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:background="@drawable/shape_small_tool_music_tuner_bg"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_metronome_bg" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_music_tuner_title"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:layout_marginStart="24dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_music_tuner_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_music_tuner_bg"
|
|
|
+ android:textSize="@dimen/sp_20"
|
|
|
+ android:textColor="@color/color_6c00c3"
|
|
|
+ android:text="节拍器"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ android:textColor="@color/color_6c00c3"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_music_tuner_title"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_music_tuner_title"
|
|
|
+ android:text="精准调音,一劳永逸"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_music_tuner_bg"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/view_music_tuner_bg"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/view_music_tuner_bg"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:src="@drawable/icon_music_tuner_enter_bg"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="114dp"/>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|