JLChen
2020-12-10 a8c5f79b0d93adfa7f23601dd0fee30edc14f0d4
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">
 
        <LinearLayout
            android:id="@+id/top_bar"
            android:layout_width="match_parent"
            android:layout_height="60dp"
            android:background="?attr/lighToolbarBackgroundColor"
            android:orientation="horizontal">
 
            <ImageView
                android:id="@+id/back"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_gravity="left"
                android:layout_weight="0.2"
                android:background="?attr/button_background_drawable"
                android:contentDescription="@string/content_description_back"
                android:padding="18dp"
                android:src="@drawable/back" />
 
            <TextView
                style="@style/toolbar_small_title_font"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_weight="0.4"
                android:ellipsize="end"
                android:gravity="center"
                android:singleLine="true"
                android:text="@string/chat_room_infos_title" />
 
            <ImageView
                android:id="@+id/confirm"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_gravity="right"
                android:layout_weight="0.2"
                android:background="?attr/button_background_drawable"
                android:contentDescription="@string/content_description_valid"
                android:padding="18dp"
                android:src="@drawable/valid" />
 
        </LinearLayout>
 
        <RelativeLayout
            android:id="@+id/layoutSubjectField"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="10dp">
 
            <EditText
                android:id="@+id/subjectField"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:contentDescription="@string/content_description_conversation_subject"
                android:gravity="center"
                android:hint="@string/conversation_subject_hint"
                android:inputType="textEmailSubject"
                android:paddingRight="5dp" />
 
        </RelativeLayout>
 
        <RelativeLayout
            android:id="@+id/addParticipantsLayout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="?attr/lighToolbarBackgroundColor"
            android:paddingTop="8dp"
            android:paddingBottom="8dp">
 
            <TextView
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:text="@string/chat_room_participants"
                android:textColor="?attr/primaryTextColor"
                android:textSize="15sp"
                android:textStyle="bold" />
 
            <ImageView
                android:id="@+id/addParticipants"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_centerVertical="true"
                android:paddingRight="10dp"
                android:src="@drawable/chat_group_add" />
 
        </RelativeLayout>
 
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/chat_room_participants"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:divider="?attr/dividerColor"
            android:dividerHeight="1dp">
 
        </androidx.recyclerview.widget.RecyclerView>
 
        <LinearLayout
            android:id="@+id/leaveGroupLayout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="10dp"
            android:layout_marginBottom="10dp"
            android:background="?attr/accentColor"
            android:paddingLeft="20dp"
            android:paddingTop="8dp"
            android:paddingRight="20dp"
            android:paddingBottom="8dp">
 
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:text="@string/chat_room_leave_group"
                android:textAllCaps="true"
                android:textColor="@color/white_color"
                android:textSize="15sp" />
 
        </LinearLayout>
 
    </LinearLayout>
 
    <include
        android:id="@+id/waitScreen"
        layout="@layout/wait_layout" />
 
</RelativeLayout>