kimi
2021-02-18 749a5510a9f014446a3cd6ba57b3cb0cc8148dc1
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
120
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        xmlns:ripple="http://schemas.android.com/tools"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
 
    <TextView
            android:layout_marginTop="@dimen/margin_common"
            android:id="@+id/tv_record_text"
            android:layout_marginLeft="@dimen/margin_common"
            android:layout_marginRight="@dimen/margin_common"
            android:maxLines="2"
            android:ellipsize="end"
            android:layout_width="match_parent"
            android:textSize="@dimen/text_size_15"
            android:textColor="@color/black_title"
            android:layout_height="wrap_content" />
 
    <cn.wildfire.chat.kit.widget.LineWaveVoiceView
            android:layout_gravity="center"
            android:gravity="center"
 
            android:layout_marginTop="50dp"
            android:id="@+id/view_line_wave"
            app:voiceLineColor="@color/colorGreen"
            app:voiceLineWidth="@dimen/margin_common_half"
            android:layout_marginLeft="@dimen/margin_common"
            android:layout_marginRight="@dimen/margin_common"
            android:layout_width="wrap_content"
            android:layout_height="50dp">
 
    </cn.wildfire.chat.kit.widget.LineWaveVoiceView>
    <LinearLayout
            android:layout_weight="1"
            android:layout_gravity="center"
            android:gravity="center"
            android:orientation="horizontal"
            android:layout_width="match_parent"
            android:layout_height="0dp">
 
        <LinearLayout
                android:layout_weight="1"
                android:layout_gravity="center"
                android:gravity="center"
                android:layout_width="0dp"
                android:layout_height="match_parent">
 
            <ImageView
                    android:id="@+id/iv_back"
                    android:src="@mipmap/ic_down_arrow"
                    android:layout_width="20dp"
                    android:layout_height="20dp" />
 
            <TextView
                    android:padding="@dimen/margin_common_half"
                    android:id="@+id/tv_clear"
                    android:text="清空"
                    android:textColor="@color/black_title"
                    android:textSize="@dimen/text_size_15"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
        </LinearLayout>
 
 
        <LinearLayout
                android:layout_weight="1"
                android:layout_gravity="center"
                android:gravity="center"
                android:orientation="vertical"
                android:layout_width="0dp"
                android:layout_height="match_parent">
 
 
            <RelativeLayout
 
                    android:layout_width="match_parent"
                    android:layout_height="150dp"
                    android:layout_centerInParent="true"
                    android:clickable="true"
                    ripple:rippleColor="@color/colorGreen"
                >
                <TextView
                        android:id="@+id/tv_touch_info"
                        android:layout_centerHorizontal="true"
                        android:gravity="center_horizontal"
                        android:text="按住说话"
                        android:textColor="@color/black_title"
                        android:textSize="@dimen/text_size_15"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content" />
                <cn.wildfire.chat.kit.widget.ObjectRippleView
                        android:id="@+id/ripple_view"
                        android:layout_centerInParent="true"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"/>
                <ImageView
                        android:id="@+id/iv_record"
                        android:src="@mipmap/ic_func_voice_btn"
                        android:layout_centerInParent="true"
                        android:layout_width="65dp"
                        android:layout_height="65dp" />
            </RelativeLayout>
 
 
        </LinearLayout>
 
        <TextView
                android:text="发送"
                android:layout_gravity="center"
                android:gravity="center"
                android:id="@+id/tv_send"
                android:textSize="@dimen/text_size_15"
                android:textColor="@color/colorGreen"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="match_parent" />
    </LinearLayout>
</LinearLayout>