@SKULSHADY: Cleanup, fixes and adapt for SettingsPreferenceFragment @rohanpurohit: bringup to 10 Change-Id: I7fa5703534c9eb76a555db9a6d3349cc2b6a2b2d Signed-off-by: rohan <purohit.rohan@gmail.com>
46 lines
1.9 KiB
XML
46 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2017 ABC rom
|
|
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 2 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, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal" >
|
|
<ImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="@android:dimen/app_icon_size"
|
|
android:layout_height="@android:dimen/app_icon_size"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_margin="8dp"
|
|
android:contentDescription="@null" />
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:paddingEnd="8dip"
|
|
android:paddingStart="8dip"
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
android:textSize="19sp" />
|
|
<RadioButton
|
|
android:id="@+id/radio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:clickable="false"
|
|
android:duplicateParentState="true"
|
|
android:focusable="false"
|
|
android:paddingEnd="8dip" />
|
|
</LinearLayout>
|