account_row.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3    android:layout_width="match_parent"
 4    android:layout_height="wrap_content"
 5    android:padding="8dp"
 6    android:background="?android:attr/activatedBackgroundIndicator">
 7
 8 
 9
10    <LinearLayout
11        android:layout_width="fill_parent"
12        android:layout_height="wrap_content"
13        android:layout_alignParentBottom="true"
14        android:layout_alignParentLeft="true"
15        android:layout_alignParentTop="true"
16        android:orientation="vertical">
17
18        <TextView
19            android:id="@+id/account_jid"
20            android:layout_width="wrap_content"
21            android:layout_height="wrap_content"
22            android:textSize="18sp"
23            android:singleLine="true"
24	        android:scrollHorizontally="false"/>
25
26        <LinearLayout
27            android:layout_width="match_parent"
28            android:layout_height="wrap_content"
29            android:orientation="horizontal"
30            android:paddingTop="3dp">
31
32            <TextView
33                android:id="@+id/textView2"
34                android:layout_width="wrap_content"
35                android:layout_height="wrap_content"
36                android:text="@string/account_status"
37                android:textStyle="bold"
38               	android:textSize="14sp" />
39
40            <TextView
41                android:id="@+id/account_status"
42                android:layout_width="wrap_content"
43                android:layout_height="wrap_content"
44                android:paddingLeft="4dp"
45                android:textColor="#669900"
46                android:text="@string/account_status_unknown"
47                android:textStyle="bold"
48                android:textSize="14sp"/>
49
50        </LinearLayout>
51
52    </LinearLayout>
53
54    
55</RelativeLayout>