Ticket #724: hideicon_layout.xml

File hideicon_layout.xml, 1.5 KB (added by agnieszka.domanska, on 03/15/2015 at 11:40:34 AM)

new custom layout for 'Hide Icon' checkboxPreference - unnecessary to align it with helpfulCheckboxPreference

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project Licensed under the
3    Apache License, Version 2.0 (the "License"); you may not use this file except
4    in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5    Unless required by applicable law or agreed to in writing, software distributed
6    under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
7    OR CONDITIONS OF ANY KIND, either express or implied. See the License for
8    the specific language governing permissions and limitations under the License. -->
9
10<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
11    android:layout_width="fill_parent"
12    android:layout_height="wrap_content"
13    android:minHeight="?android:attr/listPreferredItemHeight"
14    android:gravity="center_vertical"
15    android:paddingRight="?android:attr/scrollbarSize"
16    android:orientation="horizontal">
17
18    <RelativeLayout
19        android:layout_width="wrap_content"
20        android:layout_height="wrap_content"
21        android:layout_marginLeft="15dip"
22        android:layout_marginRight="6dip"
23        android:layout_marginTop="6dip"
24        android:layout_marginBottom="6dip"
25        android:layout_weight="1">
26    </RelativeLayout>
27   
28    <CheckBox
29        android:id="@+android:id/checkbox"
30                android:layout_width="wrap_content"
31                android:layout_height="wrap_content"
32                android:focusable="false"
33                android:clickable="false"/>
34
35</LinearLayout>
36   
37   
38
39
40   
41