blob: 59e0dc3026bc65c9dcf5594057bae838c33aafe3 [file] [log] [blame]
Adrien Béraud034d7f32016-10-03 11:36:55 -04001<?xml version="1.0" encoding="utf-8"?><!-- Copyright (c) 2016 Savoir-faire Linux Inc.
2
3Author: Adrien Beraud <adrien.beraud@savoirfairelinux.com>
4
5This program is free software; you can redistribute it and/or modify
6it under the terms of the GNU General Public License as published by
7the Free Software Foundation; either version 3 of the License, or
8(at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program. If not, see <http://www.gnu.org/licenses/>.
17-->
18<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:layout_width="match_parent"
21 android:layout_height="56dp"
22 android:padding="16dp">
23
24 <ImageView
25 android:id="@+id/icon_device"
26 android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
Adrien Béraud034d7f32016-10-03 11:36:55 -040028 android:layout_alignParentStart="true"
29 android:layout_centerVertical="true"
30 app:srcCompat="@drawable/ic_desktop_windows_black_24dp" />
31
32 <TextView
33 android:id="@+id/txt_device_label"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
Adrien Béraud034d7f32016-10-03 11:36:55 -040036 android:layout_alignParentStart="true"
37 android:layout_centerVertical="true"
Adrien Béraud034d7f32016-10-03 11:36:55 -040038 android:layout_marginStart="56dp"
39 android:text="8E24CCF4"
40 android:textAppearance="@style/ListPrimary" />
41
42 <TextView
43 android:id="@+id/txt_device_id"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_alignBaseline="@+id/txt_device_label"
47 android:layout_alignParentEnd="true"
Adrien Béraud034d7f32016-10-03 11:36:55 -040048 android:layout_marginStart="24dp"
Adrien Béraud1347b402016-10-12 16:16:04 -040049 android:layout_toEndOf="@+id/txt_device_label"
Adrien Béraud034d7f32016-10-03 11:36:55 -040050 android:ellipsize="middle"
51 android:maxLines="1"
52 android:text="e3806a4963993ed1e8adc5c0ed9809c354dfc872"
53 android:textAppearance="@style/TextAppearance.AppCompat.Caption" />
54
55</RelativeLayout>