|
4 | 4 | android:id="@+id/coordinator_layout" |
5 | 5 | android:layout_width="match_parent" |
6 | 6 | android:layout_height="match_parent" |
7 | | - android:background="@color/default_bg"> |
| 7 | + android:background="@color/md_white_1000"> |
8 | 8 |
|
9 | 9 | <RelativeLayout |
10 | 10 | android:layout_width="match_parent" |
11 | 11 | android:layout_height="match_parent" |
12 | 12 | app:layout_behavior="org.fossasia.susi.ai.helper.SnackbarBehavior" |
13 | 13 | tools:context=".chat.ChatActivity"> |
14 | 14 |
|
15 | | - <android.support.v7.widget.RecyclerView |
16 | | - android:id="@+id/rv_chat_feed" |
17 | | - android:layout_width="match_parent" |
18 | | - android:layout_height="match_parent" |
19 | | - android:layout_above="@+id/sendMessageLayout" |
20 | | - android:layout_alignParentTop="true" |
21 | | - android:scrollbars="vertical" /> |
22 | | - |
23 | 15 | <EditText |
24 | | - android:layout_width="match_parent" |
25 | 16 | android:id="@+id/chatSearchInput" |
26 | | - android:textColor="@color/md_white_1000" |
27 | | - android:layout_height="40dp" |
28 | | - android:layout_marginRight="@dimen/margin_extremely_large" |
29 | | - android:hint="Search Chat Messages" |
| 17 | + android:layout_width="match_parent" |
| 18 | + android:layout_height="@dimen/height_large" |
30 | 19 | android:layout_marginLeft="@dimen/margin_medium" |
31 | 20 | android:layout_marginTop="@dimen/margin_medium" |
32 | | - android:visibility="invisible" |
| 21 | + android:layout_marginRight="@dimen/margin_extremely_large" |
| 22 | + android:hint="Search Chat Messages" |
| 23 | + android:imeOptions="actionSearch" |
33 | 24 | android:paddingLeft="@dimen/padding_moderate" |
34 | | - android:background="@color/colorPrimaryDark" |
35 | | - android:textSize="@dimen/text_size_normal" |
36 | 25 | android:singleLine="true" |
37 | | - android:imeOptions="actionSearch"/> |
| 26 | + android:textSize="@dimen/text_size_normal" |
| 27 | + android:visibility="gone" /> |
| 28 | + |
| 29 | + <FrameLayout |
| 30 | + android:layout_width="match_parent" |
| 31 | + android:layout_height="1dp" |
| 32 | + android:layout_above="@id/rv_chat_feed" |
| 33 | + android:background="@color/md_grey_300" /> |
| 34 | + |
| 35 | + <android.support.v7.widget.RecyclerView |
| 36 | + android:id="@+id/rv_chat_feed" |
| 37 | + android:layout_width="match_parent" |
| 38 | + android:layout_height="match_parent" |
| 39 | + android:layout_above="@+id/sendMessageLayout" |
| 40 | + android:layout_below="@+id/chatSearchInput" |
| 41 | + android:background="@color/default_bg" |
| 42 | + android:scrollbars="vertical" /> |
38 | 43 |
|
39 | 44 | <android.support.design.widget.FloatingActionButton |
40 | 45 | android:id="@+id/searchChat" |
|
0 commit comments