aboutsummaryrefslogtreecommitdiff
path: root/res/layout/chat_item_reverse.xml
blob: 626955214da36ae86ddc85a9c68a3b85aca1f91e (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent"
	android:layout_height="wrap_content"
	android:orientation="vertical" >

	<TextView
		android:id="@+id/chat_username"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginRight="6dip"
		android:gravity="right"
		android:layout_gravity="right"
		android:ellipsize="marquee"
		android:singleLine="true"
		android:text="User"
		android:textAppearance="?android:attr/textAppearanceMedium"
		android:textColor="?android:textColorSecondary"/>

	<LinearLayout
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_marginTop="2dip"
		android:orientation="horizontal"
		android:layout_gravity="right" >

		<TextView
			android:id="@+id/chat_time"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginLeft="6dip"
			android:singleLine="true"
			android:gravity="right"
			android:text="00:00"
			android:textAppearance="?android:attr/textAppearanceMedium" />

		<TextView
			android:id="@+id/chat_message"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_marginLeft="6dip"
			android:layout_marginRight="6dip"
			android:autoLink="all"
			android:linksClickable="true"
			android:singleLine="false"
			android:gravity="right"
			android:text="Chat message"
			android:textAppearance="?android:attr/textAppearanceMedium" />
	</LinearLayout>
</LinearLayout>