<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
~ Copyright (C) 2012 The Android Open Source Project | |
~ | |
~ Licensed under the Apache License, Version 2.0 (the "License"); | |
~ you may not use this file except in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, software | |
~ distributed under the License is distributed on an "AS IS" BASIS, | |
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
~ See the License for the specific language governing permissions and | |
~ limitations under the License | |
--> | |
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:in="http://schemas.android.com/apk/res/android.preference.cts" > | |
<PreferenceCategory android:title="@string/inline_preferences" > | |
<android.preference.cts.CustomCheckBoxPreference | |
android:id="@+id/custom_check" | |
style="?android:attr/buttonStyleSmall" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="25dp" | |
android:key="custom_checkbox_pref_1" | |
in:icon="@drawable/ic_launcher" | |
in:title="@string/preset_title" /> | |
<android.preference.cts.CustomSwitchPreference | |
android:id="@+id/custom_switch" | |
style="?android:attr/buttonStyleSmall" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="25dp" | |
android:key="custom_switch_pref_1" | |
in:icon="@drawable/ic_launcher" | |
in:title="@string/preset_title" /> | |
<android.preference.cts.CustomDialogPreference | |
android:id="@+id/custom_switch" | |
style="?android:attr/buttonStyleSmall" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="25dp" | |
android:key="custom_dialog_pref_1" | |
in:icon="@drawable/ic_launcher" | |
in:title="@string/preset_title" /> | |
<android.preference.cts.CustomEditTextPreference | |
android:id="@+id/custom_switch" | |
style="?android:attr/buttonStyleSmall" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="25dp" | |
android:key="custom_edittext_pref_1" | |
in:icon="@drawable/ic_launcher" | |
in:title="@string/preset_title" /> | |
</PreferenceCategory> | |
</PreferenceScreen> |