blob: ab4c9e4fc5669090b178356794ed9e6f74fa563c [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2004-2016 Savoir-faire Linux Inc.
Author: Adrien BĂ©raud <adrien.beraud@savoirfairelinux.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/codec_container"
android:layout_width="match_parent"
android:layout_height="?android:attr/listPreferredItemHeight"
tools:context=".client.AccountEditionActivity">
<ImageView
android:id="@+id/drag_handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="16dp"
android:src="@drawable/ic_reorder_black_24dp"
android:layout_alignParentStart="true" />
<TextView
android:id="@+id/codec_name"
android:layout_width="wrap_content"
android:layout_height="?android:attr/listPreferredItemHeight"
android:layout_toRightOf="@+id/drag_handle"
android:layout_marginLeft="32dp"
android:gravity="center_vertical"
android:textSize="16sp"
android:textColor="@color/text_color_primary"
android:text="H.264"
android:layout_toEndOf="@id/drag_handle" />
<TextView
android:id="@+id/codec_samplerate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/codec_name"
android:gravity="center_vertical"
android:textSize="12sp"
android:text="32000"
android:textColor="@color/text_color_secondary"
android:layout_marginLeft="16dp"
android:layout_alignBaseline="@+id/codec_name"
android:layout_toEndOf="@id/codec_name" />
<CheckBox
android:id="@+id/codec_checked"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:clickable="false"
android:focusable="false"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_alignParentEnd="true" />
</RelativeLayout>