CustomSettings 
by ficeto
Il CustomSettings comincia a prendere forma
(aggiornamento 2 febbraio 2016)
 
 
 
 
 
  
res/xml/preferences.xml
	codice:
	<?xml version="1.0" encoding="utf-8"?><PreferenceScreen
  xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceScreen android:icon="@drawable/ic_settings_icon_theme" android:title="@string/personalisation_tw" android:summary="@string/personalisation_tw_summary">
        <PreferenceScreen android:icon="@drawable/ic_settings_icon_theme" android:id="@id/icon_theme" android:title="@string/theme_title" android:summary="@string/on_screen_summary">
            <intent android:targetPackage="mobi.xperiacle.touchwiz.themer.pro" android:action="android.intent.action.MAIN" android:targetClass="mobi.xperiacle.touchwiz.themer.pro.IconThemeManager" />
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_battery_mod" android:id="@id/battery_mod" android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
            <intent android:targetPackage="com.three.minit.minitbatterysettings" android:action="android.intent.action.MAIN" android:targetClass="com.three.minit.minitbatterysettings.MainActivity" />
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_lightmanager" android:id="@id/lightmanager" android:title="@string/lightmanager_title" android:summary="@string/lightmanager_summary">
            <intent android:targetPackage="com.koo.lightmanager" android:action="android.intent.action.MAIN" android:targetClass="com.koo.lightmanager.MainActivity" />
        </PreferenceScreen>
    </PreferenceScreen>
    <PreferenceScreen android:icon="@drawable/ic_settings_applications" android:title="@string/app_pers_tw" android:summary="@string/app_pers_tw_summary">
        <PreferenceScreen android:icon="@drawable/ic_settings_superdownload" android:id="@id/superdownload" android:title="@string/superdownload">
            <intent android:targetPackage="it.opbyte.superdownload" android:targetClass="it.opbyte.superdownload.MainActivity" />
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_adaway" android:id="@id/adaway" android:title="@string/adaway">
            <intent android:targetPackage="org.adaway" android:targetClass="org.adaway.ui.BaseActivity" />
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_superuser" android:id="@id/superuser" android:title="@string/superuser">
            <intent android:targetPackage="eu.chainfire.supersu" android:targetClass="eu.chainfire.supersu.MainActivity-Emblem" />
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_boeffla" android:id="@id/boeffla" android:title="@string/boeffla">
            <intent android:targetPackage="de.andip71.boeffla_config_v2" android:targetClass="de.andip71.boeffla_config_v2.MainActivity" />
        </PreferenceScreen>
    </PreferenceScreen>    
    <PreferenceScreen android:icon="@drawable/ic_settings_power" android:title="@string/toggles" android:summary="@string/toggles_summary">
        <PreferenceScreen android:icon="@drawable/ic_settings_rotation" android:title="@string/toggles_1" android:summary="@string/toggles_1_summary">
            <PreferenceCategory android:title="@string/lockscreen_category">
                <SwitchPreference android:title="@string/rotation" android:key="lockscreen_rotate" android:summaryOn="@string/rotation_enabled" android:summaryOff="@string/rotation_disabled" />
            </PreferenceCategory>
            <PreferenceCategory android:title="@string/launcher_category">
                <SwitchPreference android:title="@string/rotation" android:key="launcher_rotate" android:summaryOn="@string/rotation_enabled" android:summaryOff="@string/rotation_disabled" />
            </PreferenceCategory>
            <PreferenceCategory android:title="@string/phone_category">
                <SwitchPreference android:title="@string/rotation" android:key="phone_rotate" android:summaryOn="@string/rotation_enabled" android:summaryOff="@string/rotation_disabled" />
            </PreferenceCategory>
        </PreferenceScreen>
        <PreferenceScreen android:icon="@drawable/ic_settings_piecontrol" android:title="@string/toggles_2" android:summary="@string/toggles_2_summary">
            <PreferenceScreen android:icon="@drawable/ic_settings_piecontrol" android:id="@id/piecontrolpro" android:title="@string/piecontrolpro_category">
                <intent android:targetPackage="jun.ace.piecontrolpro" android:targetClass="jun.ace.piecontrolpro.PieControl" />
            </PreferenceScreen>
            <PreferenceScreen android:icon="@drawable/ic_settings_toggle_onoff" android:id="@id/service" android:title="@string/accessibility_service">
                <intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.Settings$AccessibilitySettingsActivity" />
            </PreferenceScreen>
        </PreferenceScreen>
    </PreferenceScreen>
</PreferenceScreen>
 3Minit Battery FREE
	codice:
	        <PreferenceScreen android:icon="@drawable/ic_settings_battery_mod" android:id="@id/battery_mod" android:title="@string/battery_mod" android:summary="@string/battery_mod_desc">
            <intent android:targetPackage="com.three.minit.minitbatterysettings.free" android:action="android.intent.action.MAIN" android:targetClass="com.three.minit.minitbatterysettings.MainActivity" />
        </PreferenceScreen>
 PIE Control FREE
	codice:
	            <PreferenceScreen android:icon="@drawable/ic_settings_piecontrol" android:id="@id/piecontrol" android:title="@string/piecontrol_category">                <intent android:targetPackage="jun.ace.piecontrol" android:targetClass="jun.ace.piecontrolpro.PieControl" />
            </PreferenceScreen>
 Icon Themer FREE
	codice:
	        <PreferenceScreen android:icon="@drawable/ic_settings_icon_theme" android:id="@id/icon_theme" android:title="@string/theme_title" android:summary="@string/on_screen_summary">            <intent android:targetPackage="mobi.xperiacle.touchwiz.themer" android:action="android.intent.action.MAIN" android:targetClass="mobi.xperiacle.touchwiz.themer.IconThemer" />
        </PreferenceScreen>
 Color Picker
	codice:
	        <PreferenceScreen android:icon="@drawable/ic_color_picker" android:title="@string/color_title" android:summary="@string/color_summary">            <PreferenceCategory android:title="@string/color_basic">
                <com.ficeto.colorpicker.ColorPickerPreference android:title="@string/color_dropdown" android:key="date_color" android:summary="@string/color_dropdown_select" android:dialogTitle="@string/color_dropdown_select_dialog" />
            </PreferenceCategory>
        </PreferenceScreen>
 Fonte:
http://forum.xda-developers.com/show...postcount=3337
Crediti:
ficeto
Goldie
tdunham
remuntada78
Interruttori per la rotazione
Toggle Keyguard:
http://forum.xda-developers.com/show...postcount=3373
Toggle SecPhone:
http://forum.xda-developers.com/show...postcount=3490
Toggle Launcher:
http://forum.xda-developers.com/show...postcount=3429
POST IN ELABORAZIONE
NON QUOTATE!