-
Notifications
You must be signed in to change notification settings - Fork 30
/
tweet_list_item.xml
67 lines (62 loc) · 2.36 KB
/
tweet_list_item.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
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
<?xml version="1.0" encoding="utf-8"?>
<!-- this is a single entry in the ListView created by ArrayAdapter -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="4dip"
>
<TextView
android:id="@+id/ListUserView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="1dp"
android:paddingLeft="2dp"
android:textSize="10sp"
android:autoLink="none"
android:focusable="false"
/>
<!-- left column -->
<de.bsd.zwitscher.helper.UserImageView android:id="@+id/ListImageView"
android:layout_width="64dp"
android:layout_height="64dp"
android:src="@drawable/user_unknown"
android:scaleType="fitXY"
android:padding="2dp"
android:layout_gravity="center_vertical"
android:layout_centerVertical="true"
android:layout_below="@id/ListUserView"
android:focusable="false"
android:contentDescription="@string/user_image"/>
<!-- right column -->
<TextView
android:id="@+id/ListTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/ListImageView"
android:paddingBottom="2dp"
android:paddingTop="1dp"
android:paddingLeft="3dp"
android:paddingRight="2dp"
android:textSize="14sp"
android:autoLink="none"
android:layout_below="@id/ListUserView"
android:focusable="false"
android:ellipsize="none"
android:editable="false"
android:scrollHorizontally="false"
android:singleLine="false"
/>
<TextView
android:id="@+id/ListTimeView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/ListImageView"
android:paddingLeft="3dp"
android:textSize="10sp"
android:autoLink="none"
android:layout_below="@id/ListTextView"
android:focusable="false"
android:scrollHorizontally="false"
android:inputType="textMultiLine"
/>
</RelativeLayout>