|
@@ -0,0 +1,54 @@
|
|
|
+<?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="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ tools:context=".MetronomeActivity">
|
|
|
+
|
|
|
+ <include layout="@layout/common_toolbar_layout" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:visibility="gone"
|
|
|
+ android:id="@+id/iv_plate"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="65dp"
|
|
|
+ android:src="@mipmap/bg_metronome"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/toolbar" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_speed"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ android:textColor="@color/color_333333"
|
|
|
+ android:textSize="@dimen/sp_40"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/iv_plate"
|
|
|
+ app:layout_constraintLeft_toLeftOf="@+id/iv_plate"
|
|
|
+ app:layout_constraintRight_toRightOf="@+id/iv_plate"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/iv_plate"
|
|
|
+ tools:text="136" />
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ app:layout_constraintCircleRadius="55dp"
|
|
|
+ app:layout_constraintCircleAngle="320"
|
|
|
+ app:layout_constraintCircle="@+id/tv_speed"
|
|
|
+ android:id="@+id/iv_note"
|
|
|
+ android:src="@mipmap/icon_quarter_note"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <View
|
|
|
+ app:layout_constraintCircleRadius="98dp"
|
|
|
+ app:layout_constraintCircleAngle="270"
|
|
|
+ app:layout_constraintCircle="@+id/iv_plate"
|
|
|
+ android:background="@drawable/shape_speed_mark"
|
|
|
+ android:layout_width="18dp"
|
|
|
+ android:layout_height="6dp"/>
|
|
|
+
|
|
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|