blob: 33cacc584d4140d5f17a1005f7fa5ac7e2a6417d [file] [log] [blame]
alisiona4325152013-04-19 11:10:03 -04001<?xml version="1.0" encoding="utf-8"?>
Adrien Béraud14ddd732016-10-03 11:46:15 -04002<!-- Copyright (c) 2016 Savoir-faire Linux Inc.
3
4Author: Adrien Beraud <adrien.beraud@savoirfairelinux.com>
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program. If not, see <http://www.gnu.org/licenses/>.
18-->
alisiona4325152013-04-19 11:10:03 -040019<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040020 android:layout_width="match_parent"
Adrien Béraud87aa42a2015-12-16 16:13:36 -050021 android:layout_height="wrap_content"
Adrien Béraud433a8592015-06-17 16:25:44 -040022 android:padding="16dp">
alisiona4325152013-04-19 11:10:03 -040023
24 <TextView
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040025 android:id="@+id/account_alias"
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050028 android:layout_alignParentLeft="false"
29 android:layout_alignParentStart="true"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040030 android:layout_alignParentTop="true"
Adrien Béraudabd338e2015-12-12 01:57:31 -050031 android:textAppearance="@style/ListPrimary" />
Adrien Béraud433a8592015-06-17 16:25:44 -040032
33 <TextView
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040034 android:id="@+id/account_host"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050037 android:layout_alignParentLeft="false"
38 android:layout_alignParentStart="true"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040039 android:layout_below="@+id/account_alias"
Adrien Béraudabd338e2015-12-12 01:57:31 -050040 android:layout_toLeftOf="@+id/error_indicator"
41 android:layout_toStartOf="@+id/error_indicator"
Adrien Béraudb179bab2015-10-08 12:04:22 -040042 android:ellipsize="middle"
43 android:singleLine="true"
Adrien Béraudabd338e2015-12-12 01:57:31 -050044 android:textAppearance="@style/ListSecondary" />
Alexandre Lisiondd6623b2013-12-02 16:23:40 -050045
46 <ImageView
Adrien Béraud433a8592015-06-17 16:25:44 -040047 android:id="@+id/error_indicator"
alisiona4325152013-04-19 11:10:03 -040048 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
Adrien Béraudabd338e2015-12-12 01:57:31 -050050 android:layout_alignParentEnd="true"
51 android:layout_alignParentRight="false"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040052 android:layout_centerVertical="true"
Adrien Béraud87aa42a2015-12-16 16:13:36 -050053 android:layout_marginLeft="16dp"
Adrien Béraudabd338e2015-12-12 01:57:31 -050054 android:layout_marginStart="16dp"
Alexandre Lisionfb0985b2013-09-27 16:23:44 -040055 android:clickable="false"
Alexandre Lisiondd6623b2013-12-02 16:23:40 -050056 android:focusable="false"
Adrien Béraudb179bab2015-10-08 12:04:22 -040057 android:focusableInTouchMode="false"
Adrien Béraudabd338e2015-12-12 01:57:31 -050058 android:src="@drawable/ic_error_white_24dp"
59 android:tint="@android:color/holo_red_light" />
alisiona4325152013-04-19 11:10:03 -040060
61</RelativeLayout>