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:textColor="@color/primarytext"
24            android:singleLine="true"
25	        android:scrollHorizontally="false"/>
26
27        <LinearLayout
28            android:layout_width="match_parent"
29            android:layout_height="wrap_content"
30            android:orientation="horizontal"
31            android:paddingTop="3dp">
32
33            <TextView
34                android:id="@+id/textView2"
35                android:layout_width="wrap_content"
36                android:layout_height="wrap_content"
37                android:text="@string/account_status"
38                android:textStyle="bold"
39               	android:textSize="14sp"
40               	android:textColor="@color/primarytext"/>
41
42            <TextView
43                android:id="@+id/account_status"
44                android:layout_width="wrap_content"
45                android:layout_height="wrap_content"
46                android:paddingLeft="4dp"
47                android:text="@string/account_status_unknown"
48                android:textStyle="bold"
49                android:textSize="14sp"/>
50
51        </LinearLayout>
52
53    </LinearLayout>
54
55    
56</RelativeLayout>