Runt
2022-05-11 7b9daa6f5e8f622c055231a8baef3214df99846c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?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="match_parent"
    android:background="@color/black_trans"
    xmlns:app="http://schemas.android.com/apk/res-auto">
 
    <ImageButton
        android:id="@+id/floating"
        android:layout_width="40dp"
        android:layout_height="wrap_content"
        android:alpha="0.9"
        android:src="@android:drawable/ic_notification_overlay"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintBottom_toTopOf="@id/lyric"/>
 
    <ImageButton
        android:id="@+id/close"
        android:layout_width="40dp"
        android:layout_height="wrap_content"
        android:alpha="0.9"
        android:src="@android:drawable/ic_menu_close_clear_cancel"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintBottom_toTopOf="@id/lyric"/>
 
    <com.auto.lyric.widgets.LyricView
        android:id="@+id/lyric"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:text="歌词大意"
        android:gravity="center"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toBottomOf="@id/close"
        app:layout_constraintBottom_toTopOf="@id/btn_back"/>
 
    <Button
        android:id="@+id/btn_back"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="后退"
        android:textColor="@color/black"
        app:layout_constraintTop_toBottomOf="@id/lyric"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"/>
 
    <Button
        android:id="@+id/btn_pause"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="暂停"
        android:textColor="@color/black"
        app:layout_constraintTop_toBottomOf="@id/lyric"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toRightOf="@id/btn_back"
        app:layout_constraintRight_toLeftOf="@id/btn_fast"/>
    <Button
        android:id="@+id/btn_fast"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="快进"
        android:textColor="@color/black"
        app:layout_constraintTop_toBottomOf="@id/lyric"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toRightOf="@id/btn_pause"
        app:layout_constraintRight_toLeftOf="@id/btn_start" />
 
    <Button
        android:id="@+id/btn_start"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="开启"
        android:textColor="@color/black"
        app:layout_constraintTop_toBottomOf="@id/lyric"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintRight_toRightOf="parent"/>
 
    <TextView
        android:id="@+id/timer"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/white"
        android:text="0.000"
        android:textSize="15sp"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        android:layout_marginTop="10dp"
        app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>