home_chat_tool_box.xml
3.8 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
<?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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/messageToolBox"
android:layout_width="match_parent"
android:layout_height="@dimen/ui_DIMEN_96.0PX"
android:background="@color/COLOR_F1F1F1"
android:orientation="horizontal">
<ImageView
android:id="@+id/toolbox_btn_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ui_DIMEN_24.0PX"
android:layout_marginRight="@dimen/ui_DIMEN_24.0PX"
android:src="@drawable/home_selector_chat_send_btn" />
<!-- android:background="@drawable/selector_chat_more"-->
<CheckBox
android:id="@+id/toolbox_btn_more"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="5dp"
android:layout_toRightOf="@+id/toolbox_btn_face"
android:visibility="gone"
android:button="@null"/>
<com.xdy.home.widget.emoji.EmoticonsEditText
android:id="@+id/toolbox_et_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/toolbox_btn_send"
android:layout_toRightOf="@+id/toolbox_btn_face"
android:background="@drawable/home_chat_input_bg"
android:inputType="textMultiLine"
android:maxHeight="@dimen/ui_DIMEN_68.0PX"
android:paddingLeft="@dimen/ui_DIMEN_8.0PX"
android:minHeight="@dimen/ui_DIMEN_68.0PX"
android:singleLine="false"
android:textSize="@dimen/ui_DIMEN_26.0PX" />
<CheckBox
android:id="@+id/toolbox_btn_face"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="@dimen/ui_DIMEN_24.0PX"
android:layout_marginRight="@dimen/ui_DIMEN_24.0PX"
android:background="@drawable/home_selector_chat_emoji_btn"
android:button="@null" />
<LinearLayout
android:id="@+id/ll_cover"
android:orientation="horizontal"
android:background="@color/transparent"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/toolbox_layout_face"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone">
<android.support.v4.view.ViewPager
android:id="@+id/toolbox_pagers_face"
android:layout_width="match_parent"
android:layout_height="160dp"></android.support.v4.view.ViewPager>
<com.xdy.home.widget.chat.PagerSlidingTabStrip
android:id="@+id/toolbox_tabs"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_below="@+id/toolbox_pagers_face"
android:background="#ffffff"
android:visibility="visible"
app:home_pstsDividerColor="#a7a5a5"
app:home_pstsIndicatorColor="#ffffff"
app:home_pstsShouldExpand="true"
app:home_pstsTabPaddingLeftRight="14dip"
app:home_pstsUnderlineColor="#ffffff" />
</RelativeLayout>
</LinearLayout>