So, in fact for the sake of what it was all done.
As you know, adding settings for a certain mod is always a rather non-trivial task.
On today there (there)
method 2 their additions:
1. Using third-party programs like
Uniprefs from
sk0t or
m7parts from
7OH .
This method is simple, due to the beginners, but many do not like this method due to subjective reasons.
In addition, in these programs, a rather limited set of added types of settings is added (only the checkbox, the switch and the list).
2. Using every time for a new fashion a handful of new incomprehensible smiles inserted into the stock application
(settings, dialer, etc., etc.), or the time-consuming addition of processing each key to the stock application.
In addition, for beginners it is usually not under force.
I want to present
3rd way .
Once adding
framework.jar my Smal, as well as
framework-res.apk layotov couple, two pictures and a few strings
you can without any problems in the future to add Schmale
ANY your settings in
ANY applications in which there are any settings.
You no longer need to think how and where to add a tool to change the settings of a particular fashion.
You no longer need to use a third-party program to change the settings of your mods
(Although the same tuning can also be used separately
UniPrefs / m7parts ).
Settings apply
INDEPENDENTLY in real time.
Each type of configuration can be inserted separately in any xml-file all settings, either in their own settings block.
The purpose of creating offline settings is to make mod settings as convenient and logical as possible.
Today supports the following types of settings:
checkbox, radio button list, the input field values, slider, kolorpiker (color selection panel).
enough
xml settings in your application to insert calls autonomous settings, in such types:
<AutoCheckBoxPreference ... parameter set ... /> - modified setting in the form of a checkbox.
<AutoSwitchPreference ... parameter set ... /> - modified setting in the form of a switch.
<AutoListPreference ... parameter set ... /> - modified setting in the form of a list in a pop-up dialog.
<AutoEditTextPreference ... parameter set ... /> - modified setting in the form of a pop-up field for entering values.
<AutoSeekBarPreference ... set of options ... /> - a modified configuration as a slider.
<AutoColorPickerPreference ... parameter set ... /> - modified setting in the form of pop-up window with a choice of color (like Photoshop).
Naturally,
Thong and
arraysy It should also be added to your application (settings, dialer, mail, etc., etc.).
And, of course, no one has canceled the processing of the action itself when changing the key of your mod, and it remains yours: yes2: