[Android General] amtra:
[MENTION=4714483]daxgirl[/MENTION]

i have added this on notification_panel_prefs.xml

<PreferenceScreen android:title="Device info settings">
<PreferenceCategory android:title="Device info customization">
<com.wubydax.romcontrol.v2.prefs.MySwitchPreference android:defaultValue="true" android:key="device_info_visibility" android:summaryOff="Disabled" android:summaryOn="Enabled" android:title="Enable device info view"/>
</PreferenceCategory>
<PreferenceCategory android:title="Text colors" android:dependency="device_info_visibility">
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="#ffffffff" android:key="gear_info_names_color" android:title="Info names text color"/>
<com.wubydax.romcontrol.v2.prefs.ColorPickerPreference android:defaultValue="#ffffffff" android:key="gear_info_values_color" android:title="Info values text color"/>
</PreferenceCategory>
<PreferenceCategory android:title="Device Info Items" android:dependency="device_info_visibility">
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_model" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Device model"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_android_version" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Android version"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_build_version" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Build version"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_battery_level" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Battery level"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_network_name" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Network name"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_wifi_info" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="WIFI info"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_next_alarm" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Next alarm"/>
<com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference android:defaultValue="true" android:key="device_up_time" android:summaryOff="Hidden" android:summaryOn="Shown" android:title="Device up time"/>
</PreferenceCategory>
</PreferenceScreen>

i got RC fc with these errors

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.a(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.onSetInitialValue(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.Preference.dispatchSetInitialValue(Preference.java:1622)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.Preference.onAttachedToHierarchy(Preference.java:1416)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addPreference(PreferenceGroup.java:175)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:116)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:42)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.rInflate(GenericInflater.java:490)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.rInflate(GenericInflater.java:495)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.inflate(GenericInflater.java:327)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.inflate(GenericInflater.java:264)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:274)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:302)

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.a.onCreate(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.Fragment.performCreate(Fragment.java:2242)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.BackStackRecord.run(BackStackRecord.java:793)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentController.execPendingActions(FragmentController.java:325)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.Activity.performStart(Activity.java:6914)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3216)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.access$1100(ActivityThread.java:221)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)

11-13 13:03:54.182 4922 4922 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:102)

11-13 13:03:54.182 4922 4922 W System.err:	at android.os.Looper.loop(Looper.java:158)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:7224)

11-13 13:03:54.182 4922 4922 W System.err:	at java.lang.reflect.Method.invoke(Native Method)

11-13 13:03:54.182 4922 4922 W System.err:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

11-13 13:03:54.182 4922 4922 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

11-13 13:03:54.182 4922 4922 W System.err:	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

11-13 13:03:54.182 695 2330 D SecContentProvider: query(), uri = 17 selection = isSettingsChangesAllowed

11-13 13:03:54.182 4922 4922 W System.err: java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.preference.Preference$OnPreferenceChangeListener.onPreferenceChange(android.preference.Preference, java.lang.Object)' on a null object reference

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.a(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.prefs.ColorPickerPreference.onSetInitialValue(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.Preference.dispatchSetInitialValue(Preference.java:1622)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.Preference.onAttachedToHierarchy(Preference.java:1416)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addPreference(PreferenceGroup.java:175)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:116)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceGroup.addItemFromInflater(PreferenceGroup.java:42)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.rInflate(GenericInflater.java:490)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.rInflate(GenericInflater.java:495)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.inflate(GenericInflater.java:327)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.GenericInflater.inflate(GenericInflater.java:264)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:274)

11-13 13:03:54.182 4922 4922 W System.err:	at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:302)

11-13 13:03:54.182 4922 4922 W System.err:	at com.wubydax.romcontrol.v2.a.onCreate(Unknown Source)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.Fragment.performCreate(Fragment.java:2242)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.BackStackRecord.run(BackStackRecord.java:793)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.FragmentController.execPendingActions(FragmentController.java:325)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.Activity.performStart(Activity.java:6914)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3216)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.access$1100(ActivityThread.java:221)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)

11-13 13:03:54.182 4922 4922 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:102)

11-13 13:03:54.182 4922 4922 W System.err:	at android.os.Looper.loop(Looper.java:158)

11-13 13:03:54.182 4922 4922 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:7224)

11-13 13:03:54.182 4922 4922 W System.err:	at java.lang.reflect.Method.invoke(Native Method)

11-13 13:03:54.182 4922 4922 W System.err:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

11-13 13:03:54.182 4922 4922 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
11-13 13:03:57.317 4976 4976 D AndroidRuntime: Shutting down VM

11-13 13:03:57.322 4976 4976 E AndroidRuntime: FATAL EXCEPTION: main

11-13 13:03:57.322 4976 4976 E AndroidRuntime: Process: com.wubydax.romcontrol.v2, PID: 4976

11-13 13:03:57.322 4976 4976 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.wubydax.romcontrol.v2/com.wubydax.romcontrol.v2.MainActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3253)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread.access$1100(ActivityThread.java:221)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:158)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:7224)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

11-13 13:03:57.322 4976 4976 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #33: Error inflating class com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:443)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.rInflate(GenericInflater.java:483)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.rInflate(GenericInflater.java:495)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.rInflate(GenericInflater.java:495)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.inflate(GenericInflater.java:327)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.inflate(GenericInflater.java:264)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:274)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:302)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at com.wubydax.romcontrol.v2.a.onCreate(Unknown Source)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.Fragment.performCreate(Fragment.java:2242)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.BackStackRecord.run(BackStackRecord.java:793)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.FragmentController.execPendingActions(FragmentController.java:325)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.Activity.performStart(Activity.java:6914)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3216)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	... 10 more

11-13 13:03:57.322 4976 4976 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference" on path: DexPathList[[zip file "/system/priv-app/RomControl.apk"],nativeLibraryDirectories=[/system/lib/RomControl, /vendor/lib, /system/lib]]

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.createItem(GenericInflater.java:376)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	... 26 more

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference" on path: DexPathList[[dex file "/data/dalvik-cache/xposed_XResourcesSuperClass.dex"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	... 29 more

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	Suppressed: java.lang.ClassNotFoundException: com.wubydax.romcontrol.v2.prefs.MyCheckBoxPreference

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.Class.classForName(Native Method)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	... 30 more

11-13 13:03:57.322 4976 4976 E AndroidRuntime:	Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available