Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
Adrien Béraud | ec528bb | 2016-01-14 16:52:51 -0500 | [diff] [blame] | 2 | Copyright (C) 2004-2016 Savoir-faire Linux Inc. |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 3 | |
| 4 | Author: Adrien Béraud <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, write to the Free Software |
| 18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 19 | --> |
| 20 | |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 21 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 22 | xmlns:tools="http://schemas.android.com/tools" |
Adrien Béraud | 433a859 | 2015-06-17 16:25:44 -0400 | [diff] [blame] | 23 | android:id="@+id/codec_container" |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 24 | android:layout_width="match_parent" |
Adrien Béraud | b179bab | 2015-10-08 12:04:22 -0400 | [diff] [blame] | 25 | android:layout_height="?android:attr/listPreferredItemHeight" |
| 26 | tools:context=".client.AccountEditionActivity"> |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 27 | |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 28 | <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éraud | 39e4259 | 2015-11-09 18:33:49 -0500 | [diff] [blame] | 34 | android:layout_marginLeft="16dp" |
Aline Bonnet | a801138 | 2016-11-01 12:10:16 -0400 | [diff] [blame] | 35 | android:src="@drawable/ic_reorder_black" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 36 | android:layout_alignParentStart="true" /> |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 37 | |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 38 | <TextView |
| 39 | android:id="@+id/codec_name" |
| 40 | android:layout_width="wrap_content" |
Alexandre Lision | 423aa13 | 2013-12-10 17:31:10 -0500 | [diff] [blame] | 41 | android:layout_height="?android:attr/listPreferredItemHeight" |
Alexandre Lision | ede1a63 | 2014-02-11 15:03:42 -0500 | [diff] [blame] | 42 | android:layout_toRightOf="@+id/drag_handle" |
Adrien Béraud | 39e4259 | 2015-11-09 18:33:49 -0500 | [diff] [blame] | 43 | android:layout_marginLeft="32dp" |
Alexandre Lision | 423aa13 | 2013-12-10 17:31:10 -0500 | [diff] [blame] | 44 | android:gravity="center_vertical" |
Adrien Béraud | 39e4259 | 2015-11-09 18:33:49 -0500 | [diff] [blame] | 45 | android:textSize="16sp" |
| 46 | android:textColor="@color/text_color_primary" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 47 | android:text="H.264" |
| 48 | android:layout_toEndOf="@id/drag_handle" /> |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 49 | |
| 50 | <TextView |
| 51 | android:id="@+id/codec_samplerate" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
Alexandre Lision | 423aa13 | 2013-12-10 17:31:10 -0500 | [diff] [blame] | 54 | android:layout_centerVertical="true" |
Alexandre Lision | 423aa13 | 2013-12-10 17:31:10 -0500 | [diff] [blame] | 55 | android:layout_toRightOf="@+id/codec_name" |
| 56 | android:gravity="center_vertical" |
| 57 | android:textSize="12sp" |
Adrien Béraud | 39e4259 | 2015-11-09 18:33:49 -0500 | [diff] [blame] | 58 | android:text="32000" |
| 59 | android:textColor="@color/text_color_secondary" |
| 60 | android:layout_marginLeft="16dp" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 61 | android:layout_alignBaseline="@+id/codec_name" |
| 62 | android:layout_toEndOf="@id/codec_name" /> |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 63 | |
| 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éraud | 39e4259 | 2015-11-09 18:33:49 -0500 | [diff] [blame] | 71 | android:focusable="false" |
| 72 | android:layout_marginLeft="16dp" |
Adrien Béraud | abd338e | 2015-12-12 01:57:31 -0500 | [diff] [blame] | 73 | android:layout_marginRight="16dp" |
| 74 | android:layout_alignParentEnd="true" /> |
Alexandre Lision | 933ef0a | 2013-10-15 17:28:40 -0400 | [diff] [blame] | 75 | |
| 76 | </RelativeLayout> |