Sunday 31 July 2016

[Guide][tut] [LP/MM] Color Picker Preferences from Rom control



Hello guys

I just want all you guys to learn easy :p

this tut is about



all you need is Deodexed settings.apk and pre superuser mod with your device

1. Decompile the Settings.apk
2. Download this Attachment 3829197
3. Merge to the settings.zip to your decompiled settings
4. Open settings.apk/res/values/strings.xml

at below add this strings

Code:


    <string name="dialog_color_picker">Color Picker</string>
    <string name="press_color_to_apply">Press on color below to apply</string>


save it and compile
sign it and replace settings done ... !

how it used

Code:


        <com.android.settings.rz.colorpicker.ColorPickerPreference android:title="Text1" android:key="set1" android:defaultValue="0xffffffff" alphaSlider="true" hexValue="true" />

Define key ( which match the mod part ) so no need to work over smali
easy control

Example tut

Editing














Attached Files






File Type: zip Settings.zip -
[Click for QR Code]
(29.7 KB)







No comments:

Post a Comment