blob: f373caa0d2952d0dcef45e1ef85a5e4c8e65da2a [file] [log] [blame]
alisiona4325152013-04-19 11:10:03 -04001<?xml version="1.0" encoding="utf-8"?>
2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -04003 android:layout_width="match_parent"
Adrien Béraud433a8592015-06-17 16:25:44 -04004 android:layout_height="72dp"
5 android:padding="16dp">
alisiona4325152013-04-19 11:10:03 -04006
7 <TextView
Alexandre Lisionfb0985b2013-09-27 16:23:44 -04008 android:id="@+id/account_alias"
9 android:layout_width="wrap_content"
10 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050011 android:layout_alignParentLeft="false"
12 android:layout_alignParentStart="true"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040013 android:layout_alignParentTop="true"
Adrien Béraudabd338e2015-12-12 01:57:31 -050014 android:text="Account name"
15 android:textAppearance="@style/ListPrimary" />
Adrien Béraud433a8592015-06-17 16:25:44 -040016
17 <TextView
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040018 android:id="@+id/account_host"
19 android:layout_width="wrap_content"
20 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050021 android:layout_alignParentLeft="false"
22 android:layout_alignParentStart="true"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040023 android:layout_below="@+id/account_alias"
Adrien Béraudabd338e2015-12-12 01:57:31 -050024 android:layout_toLeftOf="@+id/error_indicator"
25 android:layout_toStartOf="@+id/error_indicator"
Adrien Béraudb179bab2015-10-08 12:04:22 -040026 android:ellipsize="middle"
27 android:singleLine="true"
Adrien Béraudabd338e2015-12-12 01:57:31 -050028 android:text="hostnamehostnamehostnamehostnamehostnamehostnamehostnamehostname"
29 android:textAppearance="@style/ListSecondary" />
Alexandre Lisiondd6623b2013-12-02 16:23:40 -050030
31 <ImageView
Adrien Béraud433a8592015-06-17 16:25:44 -040032 android:id="@+id/error_indicator"
alisiona4325152013-04-19 11:10:03 -040033 android:layout_width="wrap_content"
34 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050035 android:layout_alignParentEnd="true"
36 android:layout_alignParentRight="false"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040037 android:layout_centerVertical="true"
Adrien Béraudabd338e2015-12-12 01:57:31 -050038 android:layout_marginStart="16dp"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040039 android:clickable="false"
Alexandre Lisiondd6623b2013-12-02 16:23:40 -050040 android:focusable="false"
Adrien Béraudb179bab2015-10-08 12:04:22 -040041 android:focusableInTouchMode="false"
Adrien Béraudabd338e2015-12-12 01:57:31 -050042 android:src="@drawable/ic_error_white_24dp"
43 android:tint="@android:color/holo_red_light" />
alisiona4325152013-04-19 11:10:03 -040044
45</RelativeLayout>