-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchat_custom_bar.xml
36 lines (31 loc) · 1.31 KB
/
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">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/custom_bar_image"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="3dp"
android:layout_marginTop="3dp"
android:src="@drawable/default_image" />
<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:layout_marginTop="3dp"
android:text="Display Name"
android:textColor="@color/colorBlack"
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:textSize="14sp" />
</RelativeLayout>