alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 3 | android:layout_width="match_parent" |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 4 | android:layout_height="72dp" |
| 5 | android:padding="16dp"> |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 6 | |
| 7 | <TextView |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 8 | android:id="@+id/account_alias" |
| 9 | android:layout_width="wrap_content" |
| 10 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 11 | android:layout_alignParentLeft="false" |
| 12 | android:layout_alignParentStart="true" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 13 | android:layout_alignParentTop="true" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 14 | android:text="Account name" |
| 15 | android:textAppearance="@style/ListPrimary" /> |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 16 | |
| 17 | <TextView |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 18 | android:id="@+id/account_host" |
| 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 21 | android:layout_alignParentLeft="false" |
| 22 | android:layout_alignParentStart="true" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 23 | android:layout_below="@+id/account_alias" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 24 | android:layout_toLeftOf="@+id/error_indicator" |
| 25 | android:layout_toStartOf="@+id/error_indicator" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 26 | android:ellipsize="middle" |
| 27 | android:singleLine="true" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 28 | android:text="hostnamehostnamehostnamehostnamehostnamehostnamehostnamehostname" |
| 29 | android:textAppearance="@style/ListSecondary" /> |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 30 | |
| 31 | <ImageView |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 32 | android:id="@+id/error_indicator" |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 33 | android:layout_width="wrap_content" |
| 34 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 35 | android:layout_alignParentEnd="true" |
| 36 | android:layout_alignParentRight="false" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 37 | android:layout_centerVertical="true" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 38 | android:layout_marginStart="16dp" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 39 | android:clickable="false" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 40 | android:focusable="false" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 41 | android:focusableInTouchMode="false" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 42 | android:src="@drawable/ic_error_white_24dp" |
| 43 | android:tint="@android:color/holo_red_light" /> |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 44 | |
| 45 | </RelativeLayout> |