-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity_main.xml
More file actions
75 lines (63 loc) · 2.36 KB
/
activity_main.xml
File metadata and controls
75 lines (63 loc) · 2.36 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
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#FFE0E0E0"
tools:context="com.systimanx.chatbot.MainActivity">
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/recylerview"
android:paddingLeft="5dp"
android:paddingTop="5dp"
android:paddingBottom="65dp"
android:paddingRight="5dp"></android.support.v7.widget.RecyclerView>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:paddingTop="10dp"
android:paddingLeft="5dp"
android:paddingBottom="10dp"
android:id="@+id/rellayout"
android:layout_above="@+id/recylerview"
android:paddingRight="5dp">
<EditText
android:layout_width="match_parent"
android:layout_height="50dp"
android:id="@+id/editmessage"
android:textSize="18dp"
android:paddingRight="10dp"
android:paddingLeft="20dp"
android:hint="Enter Message"
android:textColor="#000000"
android:layout_marginEnd="60dp"
android:background="@drawable/edittext"/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:id="@+id/voicesend"
android:layout_alignParentRight="true"
android:paddingRight="10dp"
android:src="@drawable/mic"/>
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/circle"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingLeft="10dp"
android:visibility="gone"
android:id="@+id/send"
android:layout_alignParentRight="true"
android:paddingRight="10dp"
android:src="@drawable/send"/>
</RelativeLayout>
</RelativeLayout>