Parse SystemUI.apk, throws from the Smal archive:
adismali.zip (29.72 Kb)
at LokaWe find status_bar_expanded.xml looking</ LinearLayout>
and to insert the code
<com.adi.rom.interface.MusicEqualizerVisualizer android: layout_gravity = "bottom" android: id = "@ + id / new_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "fill_parent" android: layout_marginBottom = "0.0dip">
<FrameLayout android: id = "@ + id / new_custom_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<com.adi.rom.interface.VisualizerView android: id = "@ + id / new_custom_visualizer_view" android: visibility = "gone" android: layout_width = "fill_parent" android: layout_height = "fill_parent" />
</ Framelifeout>
</com.adi.rom.interface.MusicEqualizerVisualizer>
In navbareWe find navigation_bar.xml (I have two of them) and in both Do the following:
are looking for<com.android.systemui.statusbar.policy.DeadZone and after />on the next line of code is inserted
<com.adi.rom.interface.MusicEqualizerVisualizer android: layout_gravity = "bottom" android: id = "@ + id / new_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "48.0dip" android: layout_marginBottom = "0.0dip">
<FrameLayout android: id = "@ + id / new_custom_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<com.adi.rom.interface.VisualizerView android: id = "@ + id / new_custom_visualizer_view" android: visibility = "gone" android: layout_width = "fill_parent" android: layout_height = "fill_parent" />
</ Framelifeout>
</com.adi.rom.interface.MusicEqualizerVisualizer>
so it turned out:
<com.android.systemui.statusbar.policy.DeadZone android: layout_gravity = "top" android: id = "@ id / deadzone" android: layout_width = "fill_parent" android: layout_height = "fill_parent" systemui: minSize = "@ dimen / navigation_bar_deadzone_size "systemui: maxSize =" @ dimen / navigation_bar_deadzone_size_max "systemui: holdTime =" @ integer / navigation_bar_deadzone_hold "systemui: decayTime =" @ integer / navigation_bar_deadzone_decay "systemui: orientation =" horizontal "/>
<com.adi.rom.interface.MusicEqualizerVisualizer android: layout_gravity = "bottom" android: id = "@ + id / new_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "48.0dip" android: layout_marginBottom = "0.0dip">
<FrameLayout android: id = "@ + id / new_custom_visualizer_view_panel" android: layout_width = "fill_parent" android: layout_height = "fill_parent">
<com.adi.rom.interface.VisualizerView android: id = "@ + id / new_custom_visualizer_view" android: visibility = "gone" android: layout_width = "fill_parent" android: layout_height = "fill_parent" />
</ Framelifeout>
</com.adi.rom.interface.MusicEqualizerVisualizer>
</ Framelifeout>
All subsequent and locale for navbara.Further, the res / values ​​/ colors.xml add
<color name = "new_custom_equalizer_fill_color">@android: color / somc_color_accent_dark</ color>
Further, the res / values ​​/ dimens.xml add
<dimen name = "new_custom_eqalizer_path_effect_1">6.0dip</ dimen>
<dimen name = "new_custom_eqalizer_path_effect_2">1.0dip</ dimen>
<dimen name = "new_custom_eqalizer_path_stroke_width">6.0dip</ dimen>
Further, the res / values ​​/ integers.xml add
<integer name = "new_custom_equalizer_divisions">4</ integer>
<integer name = "new_custom_equalizer_db_fuzz_factor">2</ integer>
<integer name = "new_custom_equalizer_db_fuzz">-10</ integer>
Next, check whether there is permisheny in AndroidManifest.xml, if not then add
<uses-permission android: name = "android.permission.RECORD_AUDIO" />
<uses-permission android: name = "android.permission.MODIFY_AUDIO_SETTINGS" />
Collect, if the manifest was added, then sign on with pravmi G + reboot
+ Installation settings
VisualizerStyleSettings.apk(13.05 KB)
remade prog
Addition :prog settings made from bend cattle, so for those wishing to add to the Sony settings
Settings parse and add res / values ​​/ strings.xml
<string name = "visualizer_settings">Visualizer settings</ string>
Further, the res / values-ru / strings.xml add
<string name = "visualizer_settings">Setting visualization</ string>
and further where we want to see in the settings
<PreferenceScreen android: title = "@ string / visualizer_settings" android: key = "visualizer">
<intent android: targetPackage = "com.adi.rom.interface" android: action = "android.intent.action.MAIN" android: targetClass = "com.adi.rom.interface.Visualizer" />
</ PreferenceScreen>
I leave the name as in the original Occupational.
And also you can use the auto-tuning from FreeFlax transferring everything to get out of the bend.
Ps has been done in the orders table, described, not to forget, and I think it is necessary to modify the Smal (both xs) schools in the view of the flash and making sure that everything is not added, so it is ... and let anyone gash etc. grafekvalayzery, then off - or else (such as eXistenZ)
Pps author Smal and basic instructions
adiand
pandemikstuffed in navbar (both s xda)