blob: 85748f0a6b55f3e7141cfdb5b3fc2269185c9286 [file] [log] [blame]
Adrien Béraudabd338e2015-12-12 01:57:31 -05001<?xml version="1.0" encoding="utf-8"?><!--
Adrien Béraudec528bb2016-01-14 16:52:51 -05002Copyright (C) 2004-2016 Savoir-faire Linux Inc.
Adrien Béraudabd338e2015-12-12 01:57:31 -05003
4Author: Adrien Béraud <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, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19-->
20
Alexandre Lision933ef0a2013-10-15 17:28:40 -040021<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Adrien Béraudb179bab2015-10-08 12:04:22 -040022 xmlns:tools="http://schemas.android.com/tools"
Adrien Béraud433a8592015-06-17 16:25:44 -040023 android:id="@+id/codec_container"
Alexandre Lision933ef0a2013-10-15 17:28:40 -040024 android:layout_width="match_parent"
Adrien Béraudb179bab2015-10-08 12:04:22 -040025 android:layout_height="?android:attr/listPreferredItemHeight"
26 tools:context=".client.AccountEditionActivity">
Alexandre Lision933ef0a2013-10-15 17:28:40 -040027
Alexandre Lisionede1a632014-02-11 15:03:42 -050028 <ImageView
29 android:id="@+id/drag_handle"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:layout_centerVertical="true"
33 android:layout_alignParentLeft="true"
Adrien Béraud39e42592015-11-09 18:33:49 -050034 android:layout_marginLeft="16dp"
Aline Bonneta8011382016-11-01 12:10:16 -040035 android:src="@drawable/ic_reorder_black"
Adrien Béraudabd338e2015-12-12 01:57:31 -050036 android:layout_alignParentStart="true" />
Alexandre Lisionede1a632014-02-11 15:03:42 -050037
Alexandre Lision933ef0a2013-10-15 17:28:40 -040038 <TextView
39 android:id="@+id/codec_name"
40 android:layout_width="wrap_content"
Alexandre Lision423aa132013-12-10 17:31:10 -050041 android:layout_height="?android:attr/listPreferredItemHeight"
Alexandre Lisionede1a632014-02-11 15:03:42 -050042 android:layout_toRightOf="@+id/drag_handle"
Adrien Béraud39e42592015-11-09 18:33:49 -050043 android:layout_marginLeft="32dp"
Alexandre Lision423aa132013-12-10 17:31:10 -050044 android:gravity="center_vertical"
Adrien Béraud39e42592015-11-09 18:33:49 -050045 android:textSize="16sp"
46 android:textColor="@color/text_color_primary"
Adrien Béraudabd338e2015-12-12 01:57:31 -050047 android:text="H.264"
48 android:layout_toEndOf="@id/drag_handle" />
Alexandre Lision933ef0a2013-10-15 17:28:40 -040049
50 <TextView
51 android:id="@+id/codec_samplerate"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
Alexandre Lision423aa132013-12-10 17:31:10 -050054 android:layout_centerVertical="true"
Alexandre Lision423aa132013-12-10 17:31:10 -050055 android:layout_toRightOf="@+id/codec_name"
56 android:gravity="center_vertical"
57 android:textSize="12sp"
Adrien Béraud39e42592015-11-09 18:33:49 -050058 android:text="32000"
59 android:textColor="@color/text_color_secondary"
60 android:layout_marginLeft="16dp"
Adrien Béraudabd338e2015-12-12 01:57:31 -050061 android:layout_alignBaseline="@+id/codec_name"
62 android:layout_toEndOf="@id/codec_name" />
Alexandre Lision933ef0a2013-10-15 17:28:40 -040063
64 <CheckBox
65 android:id="@+id/codec_checked"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_alignParentRight="true"
69 android:layout_centerVertical="true"
70 android:clickable="false"
Adrien Béraud39e42592015-11-09 18:33:49 -050071 android:focusable="false"
72 android:layout_marginLeft="16dp"
Adrien Béraudabd338e2015-12-12 01:57:31 -050073 android:layout_marginRight="16dp"
74 android:layout_alignParentEnd="true" />
Alexandre Lision933ef0a2013-10-15 17:28:40 -040075
76</RelativeLayout>