1
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ android : layout_width =" match_parent"
3
+ android : layout_height =" match_parent"
4
+ android : orientation =" vertical"
5
+ android : padding =" 5dp" >
6
+
7
+ <TextView
8
+ android : id =" @+id/tv_other"
9
+ android : layout_width =" match_parent"
10
+ android : layout_height =" wrap_content"
11
+ android : gravity =" center"
12
+ android : textColor =" @color/black"
13
+ android : textSize =" 17sp" />
14
+
15
+ <TextView
16
+ android : id =" @+id/tv_show"
17
+ android : layout_width =" match_parent"
18
+ android : layout_height =" wrap_content"
19
+ android : textColor =" @color/black"
20
+ android : textSize =" 15sp" />
21
+
22
+ <LinearLayout
23
+ android : layout_width =" match_parent"
24
+ android : layout_height =" 0dp"
25
+ android : layout_weight =" 1"
26
+ android : gravity =" bottom"
27
+ android : orientation =" vertical" >
28
+
29
+ <ScrollView
30
+ android : id =" @+id/sv_chat"
31
+ android : layout_width =" match_parent"
32
+ android : layout_height =" match_parent" >
33
+
34
+ <LinearLayout
35
+ android : id =" @+id/ll_show"
36
+ android : layout_width =" match_parent"
37
+ android : layout_height =" match_parent"
38
+ android : gravity =" bottom"
39
+ android : orientation =" vertical" >
40
+ </LinearLayout >
41
+ </ScrollView >
42
+ </LinearLayout >
43
+
44
+ <EditText
45
+ android : id =" @+id/et_input"
46
+ android : layout_width =" match_parent"
47
+ android : layout_height =" wrap_content"
48
+ android : background =" @drawable/editext_selector"
49
+ android : hint =" 输入"
50
+ android : textColor =" @color/black"
51
+ android : textSize =" 15sp" />
52
+
53
+ <LinearLayout
54
+ android : layout_width =" match_parent"
55
+ android : layout_height =" wrap_content"
56
+ android : orientation =" horizontal" >
57
+
58
+ <ImageButton
59
+ android : id =" @+id/ib_photo"
60
+ android : layout_width =" wrap_content"
61
+ android : layout_height =" match_parent"
62
+ android : src =" @drawable/icon_photo"
63
+ android : scaleType =" fitCenter" />
64
+
65
+ <ImageButton
66
+ android : id =" @+id/ib_sound"
67
+ android : layout_width =" wrap_content"
68
+ android : layout_height =" match_parent"
69
+ android : src =" @drawable/icon_sound"
70
+ android : scaleType =" fitCenter" />
71
+
72
+ <Button
73
+ android : id =" @+id/btn_send"
74
+ android : layout_width =" 0dp"
75
+ android : layout_height =" wrap_content"
76
+ android : layout_weight =" 1"
77
+ android : text =" 发送"
78
+ android : textColor =" @color/black"
79
+ android : textSize =" 17sp" />
80
+ </LinearLayout >
81
+
82
+ </LinearLayout >
0 commit comments