-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_res_layout_chat_custom_bar.xml
36 lines (32 loc) · 1.29 KB
/
main_res_layout_chat_custom_bar.xml
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
<?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"
android:background="@color/colorPrimary">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/custom_bar_image"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginRight="10dp"
android:src="@drawable/avatar" />
<TextView
android:id="@+id/custom_bar_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:text="Display Name"
android:textColor="@android:color/white"
android:textSize="18sp" />
<TextView
android:id="@+id/custom_bar_seen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_below="@+id/custom_bar_title"
android:text="Last Seen"
android:textColor="@android:color/white"
android:textSize="13sp" />
</RelativeLayout>