Home | History | Annotate | Download | only in xml
      1 <?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2012 The Android Open Source Project
      2 
      3      Licensed under the Apache License, Version 2.0 (the "License");
      4      you may not use this file except in compliance with the License.
      5      You may obtain a copy of the License at
      6 
      7           http://www.apache.org/licenses/LICENSE-2.0
      8 
      9      Unless required by applicable law or agreed to in writing, software
     10      distributed under the License is distributed on an "AS IS" BASIS,
     11      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12      See the License for the specific language governing permissions and
     13      limitations under the License.
     14 -->
     15 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
     16     xmlns:in="http://schemas.android.com/apk/res/com.android.cts.preference2" >
     17 
     18     <PreferenceCategory android:title="@string/inline_preferences" >
     19         <android.preference2.cts.CustomCheckBoxPreference
     20             android:id="@+id/custom_check"
     21             style="?android:attr/buttonStyleSmall"
     22             android:layout_width="wrap_content"
     23             android:layout_height="wrap_content"
     24             android:layout_marginTop="25dp"
     25             android:key="custom_checkbox_pref_1"
     26             in:icon="@drawable/ic_launcher"
     27             in:title="@string/preset_title" />
     28         <android.preference2.cts.CustomSwitchPreference
     29             android:id="@+id/custom_switch"
     30             style="?android:attr/buttonStyleSmall"
     31             android:layout_width="wrap_content"
     32             android:layout_height="wrap_content"
     33             android:layout_marginTop="25dp"
     34             android:key="custom_switch_pref_1"
     35             in:icon="@drawable/ic_launcher"
     36             in:title="@string/preset_title" />
     37 
     38          <android.preference2.cts.CustomDialogPreference
     39             android:id="@+id/custom_switch"
     40             style="?android:attr/buttonStyleSmall"
     41             android:layout_width="wrap_content"
     42             android:layout_height="wrap_content"
     43             android:layout_marginTop="25dp"
     44             android:key="custom_dialog_pref_1"
     45             in:icon="@drawable/ic_launcher"
     46             in:title="@string/preset_title" />
     47 
     48          <android.preference2.cts.CustomEditTextPreference
     49             android:id="@+id/custom_switch"
     50             style="?android:attr/buttonStyleSmall"
     51             android:layout_width="wrap_content"
     52             android:layout_height="wrap_content"
     53             android:layout_marginTop="25dp"
     54             android:key="custom_edittext_pref_1"
     55             in:icon="@drawable/ic_launcher"
     56             in:title="@string/preset_title" />
     57     </PreferenceCategory>
     58 </PreferenceScreen>
     59