dialog_voiceinput.xml
4.3 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="wrap_content"
android:orientation="vertical">
<View
android:id="@+id/view_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#77555555"></View>
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_margin="45dp"
android:background="@drawable/shape_round14dp_ffffff"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_close"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="right"
android:padding="8dp"
android:src="@drawable/ico_dialog_voiceinput_close_" />
<TextView
android:id="@+id/tv_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="14dp"
android:text="00:00"
android:textColor="#333"
android:textSize="32sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="最短5秒,最长15秒"
android:textColor="#999"
android:textSize="16sp" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp">
<RelativeLayout
android:layout_width="92dp"
android:layout_height="92dp"
android:layout_centerInParent="true">
<com.chudiangameplay.android.ui.view.CircleProgressView
android:id="@+id/progressview"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:location_start="top"
app:progress_color="@color/mainColor"
app:progress_width="3dp" />
<ImageView
android:id="@+id/iv_luyin"
android:layout_width="74dp"
android:layout_height="74dp"
android:layout_centerInParent="true"
android:src="@drawable/ico_voiceinput" />
</RelativeLayout>
<ImageView
android:visibility="gone"
android:id="@+id/iv_play"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:src="@drawable/ico_voiceinput_play" />
<ImageView
android:id="@+id/iv_pause"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:src="@drawable/ico_voiceinput_pause"
android:visibility="gone" />
<ImageView
android:visibility="gone"
android:id="@+id/iv_ok"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:src="@drawable/ico_voiceinput_ok" />
</RelativeLayout>
<TextView
android:id="@+id/tv_statu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="28dp"
android:layout_marginTop="11dp"
android:text="长按录音"
android:textColor="#333"
android:textStyle="bold"
android:textSize="16sp" />
</LinearLayout>
</RelativeLayout>