alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Adrien Béraud | 14ddd73 | 2016-10-03 11:46:15 -0400 | [diff] [blame] | 2 | <!-- Copyright (c) 2016 Savoir-faire Linux Inc. |
| 3 | |
| 4 | Author: Adrien Beraud <adrien.beraud@savoirfairelinux.com> |
| 5 | |
| 6 | This program is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 3 of the License, or |
| 9 | (at your option) any later version. |
| 10 | |
| 11 | This program is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | --> |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 19 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 20 | android:layout_width="match_parent" |
Adrien Béraud | 87aa42a | 2015-12-16 16:13:36 -0500 | [diff] [blame] | 21 | android:layout_height="wrap_content" |
Alexandre Lision | 44f9693 | 2016-11-11 16:02:33 -0500 | [diff] [blame] | 22 | android:background="?android:attr/selectableItemBackground" |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 23 | android:padding="16dp"> |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 24 | |
Alexandre Lision | 44f9693 | 2016-11-11 16:02:33 -0500 | [diff] [blame] | 25 | <android.support.v7.widget.AppCompatTextView |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 26 | android:id="@+id/account_alias" |
| 27 | android:layout_width="wrap_content" |
| 28 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 29 | android:layout_alignParentLeft="false" |
| 30 | android:layout_alignParentStart="true" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 31 | android:layout_alignParentTop="true" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 32 | android:textAppearance="@style/ListPrimary" /> |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 33 | |
Alexandre Lision | 44f9693 | 2016-11-11 16:02:33 -0500 | [diff] [blame] | 34 | <android.support.v7.widget.AppCompatTextView |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 35 | android:id="@+id/account_host" |
| 36 | android:layout_width="wrap_content" |
| 37 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 38 | android:layout_alignParentLeft="false" |
| 39 | android:layout_alignParentStart="true" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 40 | android:layout_below="@+id/account_alias" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 41 | android:layout_toLeftOf="@+id/error_indicator" |
| 42 | android:layout_toStartOf="@+id/error_indicator" |
Alexandre Lision | 44f9693 | 2016-11-11 16:02:33 -0500 | [diff] [blame] | 43 | android:ellipsize="end" |
| 44 | android:maxLines="1" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 45 | android:singleLine="true" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 46 | android:textAppearance="@style/ListSecondary" /> |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 47 | |
Alexandre Lision | 44f9693 | 2016-11-11 16:02:33 -0500 | [diff] [blame] | 48 | <android.support.v7.widget.AppCompatImageView |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 49 | android:id="@+id/error_indicator" |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 50 | android:layout_width="wrap_content" |
| 51 | android:layout_height="wrap_content" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 52 | android:layout_alignParentEnd="true" |
| 53 | android:layout_alignParentRight="false" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 54 | android:layout_centerVertical="true" |
Adrien Béraud | 87aa42a | 2015-12-16 16:13:36 -0500 | [diff] [blame] | 55 | android:layout_marginLeft="16dp" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 56 | android:layout_marginStart="16dp" |
Alexandre Lision | fb0985b | 2013-09-27 16:23:44 -0400 | [diff] [blame] | 57 | android:clickable="false" |
Alexandre Lision | dd6623b | 2013-12-02 16:23:40 -0500 | [diff] [blame] | 58 | android:focusable="false" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 59 | android:focusableInTouchMode="false" |
Aline Bonnet | a801138 | 2016-11-01 12:10:16 -0400 | [diff] [blame] | 60 | android:src="@drawable/ic_error_white" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 61 | android:tint="@android:color/holo_red_light" /> |
alision | a432515 | 2013-04-19 11:10:03 -0400 | [diff] [blame] | 62 | |
| 63 | </RelativeLayout> |