[GUIDE][4.4.x] Theming stock android - Nexus 4 Themes and Apps

Hi Everyone,
since i was playing a lot with all these to set them up perfectly (well, as much as i could) and to find different settings and connections, styles what not, i though i share some of my findings. the more i'll fix up in my own stlye, the more i'll add to this post.
i'm not going to write down how to decompile or recompile your apk's, that's something you figure out on your own, i'm just trying to give you some support here.
feel free to donate and/or press the thanks button if you find anything useful here. please bear in mind, i worked hard to figures all these out.
it's also possible that i'm not going to complete this tut.
if you have questions, shoot, i might be able to help but there's no guarantee for that.
have fun!

Changing the switch:
in framework-res.apk\res\values\styles.xml, change both holo and holo.light Switch CompoundButton
===================================================================================
General:
track is the background of the switch, thumb is the switch itself (that you slide over). TextOn & TextOff are the
strings displayed in both states of the switch. padding is pedding
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
<item name="textOn">@string/capital_on</item>
<item name="textOff">@string/capital_off</item>
<item name="thumb">@drawable/switch_inner_holo_dark</item>
<item name="switchTextAppearance">@style/TextAppearance.Holo.Widget.Switch</item>
<item name="track">@drawable/switch_track_holo_dark</item>
<item name="switchMinWidth">96.0dip</item>
<item name="switchPadding">8.0dip</item>
<item name="thumbTextPadding">8.0dip</item>
</style>
======================================================================================================
chaning the track (background):
from res\drawable\ open switch_track_holo_dark and ~_light.xml's
to have a different background for when the switch is in different states, add:
Code:
<item android:state_checked="true" android:drawable="@drawable/switch_bg_on_holo_light" />
- for the switch on
Code:
<item android:state_checked="false" android:drawable="@drawable/switch_bg_on_holo_light" />
- for the switch off
Code:
<item android:drawable="@drawable/switch_bg_holo_light" />
- this is the default background, so if you specify only
off or on states, the rest will be the default.
======================================================================================================
changing width of switch:
Code:
<style name="Widget.Holo.CompoundButton.Switch" parent="@style/Widget.Holo.CompoundButton">
<item name="textOn">@string/capital_on</item>
<item name="textOff">@string/capital_off</item>
<item name="thumb">@drawable/switch_inner_holo_dark</item>
<item name="switchTextAppearance">@style/TextAppearance.Holo.Widget.Switch</item>
<item name="track">@drawable/switch_track_holo_dark</item>
<item name="switchMinWidth">56.0dip</item> [B][COLOR="Red"]<-- this is the overall width of the switch[/COLOR][/B]
<item name="switchPadding">8.0dip</item> [COLOR="red"][B]<-- with this[/B][/COLOR]
<item name="thumbTextPadding">8.0dip</item> [COLOR="red"][B]<-- and this, you can change the width of the switch thumb[/B][/COLOR]
</style>
======================================================================================================
Switch text:
Code:
<style name="Widget.CompoundButton.Switch" parent="@style/Widget.CompoundButton">
<item name="textOn">@string/capital_on</item>
<item name="textOff">@string/capital_off</item>
</style>
======================================================================================================
change color of these to make the text disappear (transparent) or change color:
Code:
<style name="TextAppearance.Holo.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
<item name="textColor">@color/secondary_text_holo_dark</item>
</style>
<style name="TextAppearance.Holo.Light.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
<item name="textColor">@color/primary_text_holo_dark</item>
</style>
======================================================================================================

Changing the defaults of Settings to white (holo light):
it's really easy, you just have to change every holo style to holo.light and add the font color of your desire to the different styles in res\values\styles.xml
change every parent "class" that starts with @*android:style/Holo to @*android:style/Holo.Light and, eg:
Code:
parent="@*android:style/Holo.SegmentedButton"
becomes
Code:
parent="@*android:style/Holo.[COLOR="Red"]Light[/COLOR].SegmentedButton"
then add the following line to every style element:
Code:
<item name="android:textColor">#ff545454</item>
except to these styles:
<style name="Transparent">, <style name="setup_wizard_button">, <style name="CryptKeeperBlankTheme"> - here i didn't change holo to holo.light neither (may be worthy to try though), <style name="TextAppearance.Switch"...>, <style name="KeyguardAppWidgetItem">.
where #ff545454 is the hex color code of the color you want to use as the font color. ff at the beginning is android specific, it tells the opacity of the color you select, so in the above case, the original hex color is #545454 (which is gray) but to have a 100% solid color, we need to add ff to the beginning of the hex color code, so it turns into #ff545454. easy peasy
you might have to change all drawables or some of them from _light to _dark, or recolor them in Settings.apk or fw-apk.
you also need to change
Code:
<item name="android:actionBarStyle">@*android:style/Widget.Holo.ActionBar.Solid</item>
to
Code:
<item name="android:actionBarStyle">@*android:style/Widget.Holo.Light.ActionBar.Solid</item>
==========================================================================================================
Changing category header color:
in fw-res.apk\res\values\styles.xml change:
Code:
<style name="Widget.TextView.ListSeparator" parent="@style/Widget.TextView">
<item name="textSize">14.0sp</item>
<item name="textStyle">bold</item>
<item name="textColor">#ffbb0303</item>[COLOR="Red"] <--- change this color to whatever you want[/COLOR]
<item name="gravity">center_vertical</item>
<item name="background">@drawable/dark_header_dither</item>
<item name="layout_width">fill_parent</item>
<item name="layout_height">wrap_content</item>
<item name="paddingStart">8.0dip</item>
</style>
===========================================================================================================================================
theming GoogleDeskClock and having issues with the stopwatch icon (same icon used in status bar when stopwatch is running as for the selected (activated) tab. to fix it, follow this:
Create a black (or whatever color you used) copy of the stopwatch activated icon (ic_tab_stopwatch_activated), name it as ic_tab_stopwatch_activated_b.png in the same folder and change the code in res\drawable\stopwatch_tab.xml the following lines from ic_tab_stopwatch_activated to ic_tab_stopwatch_activated_b:
Code:
<item android:state_focused="true" android:state_pressed="false" android:drawable="@drawable/ic_tab_stopwatch_activated_b" />
<item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/ic_tab_stopwatch_activated_b" />
<item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/ic_tab_stopwatch_activated_b" />
<item android:state_selected="true" android:drawable="@drawable/ic_tab_stopwatch_activated_b" />

reserved 3

Can't w8 to see how the tutorial is

Thanks! Was very useful for me.
Sent from my Nexus 4 using Tapatalk

Icarus1391 said:
Thanks! Was very useful for me.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
no probs. if you did change something, you can throw up a screenie of it, just so we can see

holo.light settings framework S4 i9505 on 4.4.2 kitkat xxufnb8
i want to make holo light changes to whole secsettings na framework on S4 i9505 running on 4.4.2 german B8 stock odexed rom
at your guide Changing the switch:
in framework-res.apk\res\values\styles.xml, change both holo and holo.light Switch CompoundButton
i dont have the string <style name="Widget.Holo.CompoundButton.Switch"
instead i have <style name="Widget.CompoundButton" parent="@style/Widget">
<item name="textAppearance">?textAppearance</item>
<item name="textColor">?textColorPrimaryDisableOnly</item>
<item name="gravity">start|center</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
maybe the guide is nexus related but you didnt writed in the details, i would apreciate i you can guide me according to touchwiz xmls
i have pressed thanks button already

Look for switch, mate, that's what u want to change
Sent from the outer space, delivered by an android using a 4th gen nexus

Hi mate, I would like to completely get rid of the on/off switch
and replace it with another button on Android L style....
How can I do?
Can I make it transparent in this way to make it disappear?
Code:
<style name="TextAppearance.Holo.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
<item name="textColor">[B]#00000000[/B]</item>
</style>
<style name="TextAppearance.Holo.Light.Widget.Switch" parent="@style/TextAppearance.Holo.Small">
<item name="textColor">[B]#00000000[/B]</item>
</style>
Tnx in advance!

Related

(Q) black menu popup

Was wondering where the png or the xml file is to change it to black like gingerbread when u press the menu button. Or even slightly black transparent. Where in the framework res is it located? Thanks!
Its in the gb theme. Its a .9.png that needs to be edited in the framework. Then you have to replace all the icons that show up in that menu with lighter icons our colorfull ones. You also need to edit a couple xmls to show the text right
Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
mysteryemotionz said:
Its in the gb theme. Its a .9.png that needs to be edited in the framework. Then you have to replace all the icons that show up in that menu with lighter icons our colorfull ones. You also need to edit a couple xmls to show the text right
Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
Click to expand...
Click to collapse
Mystery, seeing as you're a theme dev, you'd probably know the answer better than I would, could someone just extract some of the images from one theme and replace them in another theme to get the look they want? (Sorry to derail the thread.)
Thanks for the quick reply. What's. The .9png file name. And xml located for the text?
063_XOBX said:
Mystery, seeing as you're a theme dev, you'd probably know the answer better than I would, could someone just extract some of the images from one theme and replace them in another theme to get the look they want? (Sorry to derail the thread.)
Click to expand...
Click to collapse
You are correct but the xml edits are gonna have to be done in a decompiled apk. You can't decompile a custom framework and the recompile it. You have to start with a stock framework. Your best bet is to ask your theme dev if this is something he's willing to do
Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
hugo87 said:
Thanks for the quick reply. What's. The .9png file name. And xml located for the text?
Click to expand...
Click to collapse
I'm not sure of .9 off of the top of my head I would have to look at my files. All I can tell you is its in framework-res.apk/res/drawable-hpi.
As far as the xml goes I would have to check my notes that the dev of the gb theme have me.
Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
all credit goes to amosher13
here is the xmls i edited to deal with dark menu images. make sure you link me to wherever you post this bad boy:
Set menu text to white
In /res/values/style.xml change the following:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
TO:
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
</style>
--------------------------------------------------
and (for the "more" menu lists)
Code:
style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
<style>
TO
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLarge</item>
<style>
---------------------------------------------------
Fix menu button dividers
Also in /res/values/style.xml:
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_bright</item>
<item name="verticalDivider">@drawable/divider_vertical_bright</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
TO
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_dark</item>
<item name="verticalDivider">@drawable/divider_vertical_dark</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
---------------------------------------------------
Change secondary text in settings from blue to whatever
In /res/color/zzz_tw_secondary_text_sub.xml change the colors in the following two lines to ffffffff (for white):
Code:
<item android:state_window_focused="false" android:color="#ffffffff" />
<item android:color="#ffffffff" />
---------------------------------------------------
change notification text on pulldown
There are three text color settings in
/res/layout/status_bar_latest_event_content.xml.
Change all three of them. ff000000 is black.[/QUOTE]
the menu is popup_top_bright.9.png and popup_bottom_medium.9.png i believe
Freakin sweet!!! Mystery you are the man! Realy appreciate it. Thanks!
hugo87 said:
Freakin sweet!!! Mystery you are the man! Realy appreciate it. Thanks!
Click to expand...
Click to collapse
Don't forget to thank asmopher13 got the xml edits. I just copied and posted what he gave me
Android Creative Syndicate- From spontaneous ingenuity, comes creative brilliance
Will do man thanks again man!
MysteryEmotionz said:
all credit goes to amosher13
here is the xmls i edited to deal with dark menu images. make sure you link me to wherever you post this bad boy:
Set menu text to white
In /res/values/style.xml change the following:
Code:
style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimaryInverse</item>
</style>
TO:
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">@color/bright_foreground_dark</item>
</style>
--------------------------------------------------
and (for the "more" menu lists)
Code:
style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLargeInverse</item>
<style>
TO
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLarge</item>
<style>
---------------------------------------------------
Fix menu button dividers
Also in /res/values/style.xml:
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_bright</item>
<item name="verticalDivider">@drawable/divider_vertical_bright</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
TO
Code:
<style name="Theme.IconMenu" parent="@style/Theme">
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">@style/TextAppearance.Widget.IconMenu.Item</item>
<item name="horizontalDivider">@drawable/divider_horizontal_dark</item>
<item name="verticalDivider">@drawable/divider_vertical_dark</item>
<item name="itemBackground">@drawable/menu_selector</item>
<item name="itemIconDisabledAlpha">?disabledAlpha</item>
<item name="moreIcon">@drawable/ic_menu_more</item>
</style>
---------------------------------------------------
Change secondary text in settings from blue to whatever
In /res/color/zzz_tw_secondary_text_sub.xml change the colors in the following two lines to ffffffff (for white):
Code:
<item android:state_window_focused="false" android:color="#ffffffff" />
<item android:color="#ffffffff" />
---------------------------------------------------
change notification text on pulldown
There are three text color settings in
/res/layout/status_bar_latest_event_content.xml.
Change all three of them. ff000000 is black.
Click to expand...
Click to collapse
[/QUOTE]
hello mystery, do you mind taking a look at my screenshots?, your advice will be highly appreciated.
hello mystery, do you mind taking a look at my screenshots?, your advice will be highly appreciated.[/QUOTE]
This is something i haven't done or looked into. From what I have seen I believe the widget picker text is controlled in styles.xml. The compressed calender image looks like a .9.png error. The input text I haven't seen at all and I'm getting a feeling that would be controlled from app 2 app
Sent from my SPH-D700 using Tapatalk
MysteryEmotionz said:
hello mystery, do you mind taking a look at my screenshots?, your advice will be highly appreciated.
Click to expand...
Click to collapse
This is something i haven't done or looked into. From what I have seen I believe the widget picker text is controlled in styles.xml. The compressed calender image looks like a .9.png error. The input text I haven't seen at all and I'm getting a feeling that would be controlled from app 2 app
Sent from my SPH-D700 using Tapatalk[/QUOTE]
Firstly, thank you for your reply..
1)In moto milestone,(CM6 to be specific) the styles.xml is not available in framework-re.apk/res/color. I had attached the content of res/color folder below for your viewing.
2)".9.png error" thank you so much for clarifying this..now i know where to go..
p/s: this only happens in landscape. in potrait, it is perfect.;
Let me know if you still need help with the text color,,,Its the Primary_text_Light.xml,thats the only one that need to be changed.
Sent from my MyFrankenstein E=Bee13² ROM using XDAP App...
THANKS ecooce, i am trying it out now..wwill update soon
here the orginal content of Primary_text_light.xml
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/bright_foreground_light_disabled" />
<item android:state_window_focused="false" android:color="@color/bright_foreground_light" />
<item android:state_pressed="true" android:color="@color/bright_foreground_light" />
<item android:state_selected="true" android:color="@color/bright_foreground_light" />
<item android:color="@color/bright_foreground_light" />
</selector>
and heres the modified version
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/bright_foreground_light_disabled" />
<item android:state_window_focused="false" android:color="@color/bright_foreground_light" />
<item android:state_pressed="true" android:color="@color/bright_foreground_light" />
<item android:state_selected="true" android:color="@color/bright_foreground_light" />
<item android:color="@color/bright_foreground_dark" />
</selector>
THANK YOU SOOO MUCH TO ecoocemystery emotions!! im as happy as (god knows what!!) thank you to so so much!!
vesparados150 said:
This is something i haven't done or looked into. From what I have seen I believe the widget picker text is controlled in styles.xml. The compressed calender image looks like a .9.png error. The input text I haven't seen at all and I'm getting a feeling that would be controlled from app 2 app
Sent from my SPH-D700 using Tapatalk
Click to expand...
Click to collapse
Firstly, thank you for your reply..
1)In moto milestone,(CM6 to be specific) the styles.xml is not available in framework-re.apk/res/color. I had attached the content of res/color folder below for your viewing.
2)".9.png error" thank you so much for clarifying this..now i know where to go..
p/s: this only happens in landscape. in potrait, it is perfect.;[/QUOTE]
1)Styles.xml should be in framework-res.apk/res/values
(this is where it is on my phone. Idk if cm6 Is any different)
2)those ticker buttons are .9s and something went wrong. Your gonna have to redo that ticker button
Sent from my SPH-D700 using Tapatalk

GUIDE HOW TO Transparent settings background & Enable Navigation Bar for CM9 & CM10

GUIDE HOW TO Transparent settings background & Enable Navigation Bar for CM9 & CM10
HOW TO TRANSPARENT SETTINGS BACKGROUND & ENABLE NAVIGATION BAR FOR CM9 & CM10
TRANSPARENT SETTINGS BACKGROUND
framework/res/value/styles.xml
( - ) = Delete
( + ) = Add
find this line
Code:
</style>
<style name="Theme.Holo" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_holo_dark</item>
<item name="colorBackground">@color/background_holo_dark</item>
<item name="backgroundDimAmount">0.6</item>
<item name="disabledAlpha">0.5</item>
<item name="textAppearance">@style/TextAppearance.Holo</item>
<item name="textAppearanceInverse">@style/TextAppearance.Holo.Inverse</item>
<item name="textColorPrimary">@color/primary_text_holo_dark</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_disable_only_holo_dark</item>
<item name="textColorSecondary">@color/secondary_text_holo_dark</item>
<item name="textColorPrimaryInverse">@color/primary_text_holo_light</item>
<item name="textColorSecondaryInverse">@color/secondary_text_holo_light</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_nodisable_holo_dark</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_nodisable_holo_dark</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_nodisable_holo_light</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_nodisable_holo_light</item>
<item name="textColorHintInverse">@color/hint_foreground_holo_light</item>
<item name="textAppearanceLarge">@style/TextAppearance.Holo.Large</item>
<item name="textAppearanceMedium">@style/TextAppearance.Holo.Medium</item>
<item name="textAppearanceSmall">@style/TextAppearance.Holo.Small</item>
<item name="textAppearanceLargeInverse">@style/TextAppearance.Holo.Large.Inverse</item>
<item name="textAppearanceMediumInverse">@style/TextAppearance.Holo.Medium.Inverse</item>
<item name="textAppearanceSmallInverse">@style/TextAppearance.Holo.Small.Inverse</item>
<item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
<item name="buttonStyle">@style/Widget.Holo.Button</item>
<item name="buttonStyleSmall">@style/Widget.Holo.Button.Small</item>
<item name="buttonStyleInset">@style/Widget.Holo.Button.Inset</item>
<item name="buttonStyleToggle">@style/Widget.Holo.Button.Toggle</item>
<item name="galleryItemBackground">@drawable/gallery_item_background</item>
<item name="listPreferredItemHeight">64.0dip</item>
<item name="expandableListPreferredItemPaddingLeft">40.0dip</item>
<item name="expandableListPreferredChildPaddingLeft">?expandableListPreferredItemPaddingLeft</item>
<item name="expandableListPreferredItemIndicatorLeft">3.0dip</item>
<item name="expandableListPreferredItemIndicatorRight">0.0dip</item>
<item name="expandableListPreferredChildIndicatorLeft">?expandableListPreferredItemIndicatorLeft</item>
<item name="expandableListPreferredChildIndicatorRight">?expandableListPreferredItemIndicatorRight</item>
<item name="windowFrame">@null</item>
<item name="windowNoTitle">false</item>
<item name="windowIsFloating">false</item>
<item name="windowContentOverlay">@null</item>
<item name="windowTitleSize">25.0dip</item>
<item name="windowTitleStyle">@style/WindowTitle.Holo</item>
<item name="windowTitleBackgroundStyle">@style/WindowTitleBackground.Holo</item>
<item name="alertDialogStyle">@style/AlertDialog.Holo</item>
<item name="panelBackground">@drawable/menu_hardkey_panel_holo_dark</item>
<item name="panelFullBackground">@drawable/menu_background_fill_parent_width</item>
<item name="panelColorForeground">?textColorPrimary</item>
<item name="panelColorBackground">#000</item>
<item name="panelTextAppearance">?textAppearance</item>
<item name="scrollbarSize">10.0dip</item>
<item name="scrollbarThumbHorizontal">@drawable/scrollbar_handle_holo_dark</item>
<item name="scrollbarThumbVertical">@drawable/scrollbar_handle_holo_dark</item>
<item name="scrollbarTrackHorizontal">@null</item>
<item name="scrollbarTrackVertical">@null</item>
<item name="absListViewStyle">@style/Widget.Holo.AbsListView</item>
<item name="autoCompleteTextViewStyle">@style/Widget.Holo.AutoCompleteTextView</item>
<item name="checkboxStyle">@style/Widget.Holo.CompoundButton.CheckBox</item>
<item name="dropDownListViewStyle">@style/Widget.Holo.ListView.DropDown</item>
<item name="editTextStyle">@style/Widget.Holo.EditText</item>
<item name="expandableListViewStyle">@style/Widget.Holo.ExpandableListView</item>
<item name="galleryStyle">@style/Widget.Holo.Gallery</item>
<item name="gridViewStyle">@style/Widget.Holo.GridView</item>
<item name="imageButtonStyle">@style/Widget.Holo.ImageButton</item>
<item name="imageWellStyle">@style/Widget.Holo.ImageWell</item>
<item name="listViewStyle">@style/Widget.Holo.ListView</item>
<item name="listViewWhiteStyle">@style/Widget.Holo.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.Holo.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.Holo.ProgressBar</item>
<item name="progressBarStyleHorizontal">@style/Widget.Holo.ProgressBar.Horizontal</item>
<item name="progressBarStyleSmall">@style/Widget.Holo.ProgressBar.Small</item>
<item name="progressBarStyleLarge">@style/Widget.Holo.ProgressBar.Large</item>
<item name="seekBarStyle">@style/Widget.Holo.SeekBar</item>
<item name="ratingBarStyle">@style/Widget.Holo.RatingBar</item>
<item name="ratingBarStyleSmall">@style/Widget.Holo.RatingBar.Small</item>
<item name="radioButtonStyle">@style/Widget.Holo.CompoundButton.RadioButton</item>
<item name="scrollViewStyle">@style/Widget.Holo.ScrollView</item>
<item name="spinnerStyle">?dropDownSpinnerStyle</item>
<item name="starStyle">@style/Widget.Holo.CompoundButton.Star</item>
<item name="tabWidgetStyle">@style/Widget.Holo.TabWidget</item>
<item name="textViewStyle">@style/Widget.Holo.TextView</item>
<item name="webViewStyle">@style/Widget.Holo.WebView</item>
<item name="dropDownItemStyle">@style/Widget.Holo.DropDownItem</item>
<item name="spinnerDropDownItemStyle">@style/Widget.Holo.DropDownItem.Spinner</item>
<item name="dropDownHintAppearance">@style/TextAppearance.Holo.Widget.DropDownHint</item>
<item name="spinnerItemStyle">@style/Widget.Holo.TextView.SpinnerItem</item>
<item name="preferenceScreenStyle">@style/Preference.Holo.PreferenceScreen</item>
<item name="preferenceCategoryStyle">@style/Preference.Holo.Category</item>
<item name="preferenceInformationStyle">@style/Preference.Holo.Information</item>
<item name="preferenceStyle">@style/Preference.Holo</item>
<item name="checkBoxPreferenceStyle">@style/Preference.Holo.CheckBoxPreference</item>
<item name="yesNoPreferenceStyle">@style/Preference.Holo.DialogPreference.YesNoPreference</item>
<item name="dialogPreferenceStyle">@style/Preference.Holo.DialogPreference</item>
<item name="editTextPreferenceStyle">@style/Preference.Holo.DialogPreference.EditTextPreference</item>
<item name="ringtonePreferenceStyle">@style/Preference.Holo.RingtonePreference</item>
<item name="preferenceLayoutChild">@layout/preference_child_holo</item>
<item name="textColorHighlight">@color/highlighted_text_holo_dark</item>
<item name="textColorHint">@color/hint_foreground_holo_dark</item>
<item name="textColorLink">@color/holo_blue_light</item>
<item name="windowAnimationStyle">@style/Animation.Holo.Activity</item>
<item name="colorForegroundInverse">@color/bright_foreground_inverse_holo_dark</item>
<item name="textAppearanceButton">@style/TextAppearance.Holo.Widget.Button</item>
<item name="listSeparatorTextViewStyle">@style/Widget.Holo.TextView.ListSeparator</item>
<item name="windowFullscreen">false</item>
<item name="progressBarStyleSmallTitle">@style/Widget.Holo.ProgressBar.Small.Title</item>
<item name="ratingBarStyleIndicator">@style/Widget.Holo.RatingBar.Indicator</item>
<item name="textColorTertiary">@color/tertiary_text_holo_dark</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_holo_light</item>
<item name="listDivider">@drawable/list_divider_holo_dark</item>
<item name="listChoiceIndicatorSingle">@drawable/btn_radio_holo_dark</item>
<item name="listChoiceIndicatorMultiple">@drawable/btn_check_holo_dark</item>
<item name="windowSoftInputMode">stateUnspecified|adjustUnspecified</item>
<item name="candidatesTextStyleSpans">@string/candidates_style</item>
<item name="textColorSearchUrl">@color/search_url_text_holo</item>
<item name="progressBarStyleInverse">@style/Widget.Holo.ProgressBar.Inverse</item>
<item name="progressBarStyleSmallInverse">@style/Widget.Holo.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLargeInverse">@style/Widget.Holo.ProgressBar.Large.Inverse</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_disable_only_holo_light</item>
[COLOR="Red"] - <item name="windowShowWallpaper">false</item>[/COLOR]
[COLOR="Blue"]+ <item name="windowShowWallpaper">true</item>[/COLOR]
<item name="textAppearanceSearchResultSubtitle">@style/TextAppearance.Holo.SearchResult.Subtitle</item>
<item name="textAppearanceSearchResultTitle">@style/TextAppearance.Holo.SearchResult.Title</item>
<item name="scrollbarFadeDuration">250</item>
<item name="scrollbarDefaultDelayBeforeFade">300</item>
<item name="colorBackgroundCacheHint">@drawable/background_cache_hint_selector_holo_dark</item>
<item name="quickContactBadgeStyleWindowSmall">@style/Widget.Holo.QuickContactBadge.WindowSmall</item>
<item name="quickContactBadgeStyleWindowMedium">@style/Widget.Holo.QuickContactBadge.WindowMedium</item>
<item name="quickContactBadgeStyleWindowLarge">@style/Widget.Holo.QuickContactBadge.WindowLarge</item>
<item name="quickContactBadgeStyleSmallWindowSmall">@style/Widget.Holo.QuickContactBadgeSmall.WindowSmall</item>
<item name="quickContactBadgeStyleSmallWindowMedium">@style/Widget.Holo.QuickContactBadgeSmall.WindowMedium</item>
<item name="quickContactBadgeStyleSmallWindowLarge">@style/Widget.Holo.QuickContactBadgeSmall.WindowLarge</item>
<item name="expandableListViewWhiteStyle">@style/Widget.Holo.ExpandableListView.White</item>
<item name="webTextViewStyle">@style/Widget.Holo.WebTextView</item>
<item name="textSelectHandleLeft">@drawable/text_select_handle_left</item>
<item name="textSelectHandleRight">@drawable/text_select_handle_right</item>
<item name="textSelectHandle">@drawable/text_select_handle_middle</item>
<item name="textSelectHandleWindowStyle">@style/Widget.Holo.TextSelectHandle</item>
<item name="windowActionBar">true</item>
<item name="actionBarStyle">@style/Widget.Holo.ActionBar</item>
<item name="dropDownSpinnerStyle">@style/Widget.Holo.Spinner.DropDown</item>
<item name="actionDropDownStyle">@style/Widget.Holo.Spinner.DropDown.ActionBar</item>
<item name="actionButtonStyle">@style/Widget.Holo.ActionButton</item>
<item name="actionModeBackground">@drawable/cab_background_top_holo_dark</item>
<item name="actionModeCloseDrawable">@drawable/ic_cab_done_holo_dark</item>
<item name="windowActionModeOverlay">false</item>
<item name="actionBarSize">@dimen/action_bar_default_height</item>
<item name="listChoiceBackgroundIndicator">@drawable/list_selector_holo_dark</item>
<item name="actionBarTabStyle">@style/Widget.Holo.ActionBar.TabView</item>
<item name="actionBarTabBarStyle">@style/Widget.Holo.ActionBar.TabBar</item>
<item name="actionBarTabTextStyle">@style/Widget.Holo.ActionBar.TabText</item>
<item name="actionOverflowButtonStyle">@style/Widget.Holo.ActionButton.Overflow</item>
<item name="actionModeCloseButtonStyle">@style/Widget.Holo.ActionButton.CloseMode</item>
<item name="activatedBackgroundIndicator">@drawable/activated_background_holo_dark</item>
<item name="listPopupWindowStyle">@style/Widget.Holo.ListPopupWindow</item>
<item name="popupMenuStyle">@style/Widget.Holo.PopupMenu</item>
<item name="textAppearanceLargePopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Large</item>
<item name="textAppearanceSmallPopupMenu">@style/TextAppearance.Holo.Widget.PopupMenu.Small</item>
<item name="listDividerAlertDialog">@drawable/list_divider_holo_dark</item>
<item name="textColorAlertDialogListItem">@color/primary_text_holo_dark</item>
<item name="dialogTheme">@style/Theme.Holo.Dialog</item>
<item name="alertDialogTheme">@style/Theme.Holo.Dialog.Alert</item>
<item name="dividerVertical">?listDivider</item>
<item name="homeAsUpIndicator">@drawable/ic_ab_back_holo_dark</item>
<item name="selectableItemBackground">@drawable/item_background_holo_dark</item>
<item name="actionModeCutDrawable">@drawable/ic_menu_cut_holo_dark</item>
<item name="actionModeCopyDrawable">@drawable/ic_menu_copy_holo_dark</item>
<item name="actionModePasteDrawable">@drawable/ic_menu_paste_holo_dark</item>
<item name="borderlessButtonStyle">@style/Widget.Holo.Button.Borderless</item>
<item name="dividerHorizontal">?listDivider</item>
<item name="buttonBarStyle">@style/Holo.ButtonBar</item>
<item name="buttonBarButtonStyle">?borderlessButtonStyle</item>
<item name="segmentedButtonStyle">@style/Holo.SegmentedButton</item>
<item name="fastScrollThumbDrawable">@drawable/fastscroll_thumb_holo</item>
<item name="fastScrollPreviewBackgroundLeft">@drawable/fastscroll_label_left_holo_dark</item>
<item name="fastScrollPreviewBackgroundRight">@drawable/fastscroll_label_right_holo_dark</item>
<item name="fastScrollTrackDrawable">@drawable/fastscroll_track_holo_dark</item>
<item name="fastScrollOverlayPosition">atThumb</item>
<item name="detailsElementBackground">@drawable/panel_bg_holo_dark</item>
<item name="textColorHighlightInverse">@color/highlighted_text_holo_light</item>
<item name="textColorLinkInverse">@color/holo_blue_light</item>
<item name="editTextColor">?textColorPrimary</item>
<item name="editTextBackground">@drawable/edit_text_holo_dark</item>
<item name="horizontalScrollViewStyle">@style/Widget.Holo.HorizontalScrollView</item>
<item name="alertDialogIcon">@drawable/ic_dialog_alert_holo_dark</item>
<item name="datePickerStyle">@style/Widget.Holo.DatePicker</item>
<item name="calendarViewStyle">@style/Widget.Holo.CalendarView</item>
<item name="textCursorDrawable">@drawable/text_cursor_holo_dark</item>
<item name="switchPreferenceStyle">@style/Preference.Holo.SwitchPreference</item>
<item name="textSuggestionsWindowStyle">@style/Widget.Holo.TextSuggestionsPopupWindow</item>
<item name="actionModeSelectAllDrawable">@drawable/ic_menu_selectall_holo_dark</item>
<item name="listPreferredItemHeightLarge">80.0dip</item>
<item name="listPreferredItemHeightSmall">48.0dip</item>
<item name="colorPressedHighlight">@color/holo_blue_light</item>
<item name="colorLongPressedHighlight">@color/holo_blue_bright</item>
<item name="colorFocusedHighlight">@color/holo_blue_dark</item>
<item name="colorActivatedHighlight">@color/holo_blue_dark</item>
<item name="colorMultiSelectHighlight">@color/holo_green_light</item>
<item name="actionModeStyle">@style/Widget.Holo.ActionMode</item>
<item name="actionBarWidgetTheme">@null</item>
<item name="actionModeSplitBackground">@drawable/cab_background_bottom_holo_dark</item>
<item name="textAppearanceListItemSmall">?textAppearanceMedium</item>
<item name="listPreferredItemPaddingLeft">8.0dip</item>
<item name="listPreferredItemPaddingRight">8.0dip</item>
<item name="searchWidgetCorpusItemBackground">@color/search_widget_corpus_item_background</item>
<item name="errorMessageBackground">@drawable/popup_inline_error_holo_dark</item>
<item name="errorMessageAboveBackground">@drawable/popup_inline_error_above_holo_dark</item>
<item name="searchResultListItemHeight">58.0dip</item>
<item name="dropdownListPreferredItemHeight">?listPreferredItemHeightSmall</item>
<item name="alertDialogCenterButtons">false</item>
<item name="panelMenuIsCompact">true</item>
<item name="panelMenuListWidth">250.0dip</item>
<item name="panelMenuListTheme">@style/Theme.Holo.CompactMenu</item>
<item name="gestureOverlayViewStyle">@style/Widget.Holo.GestureOverlayView</item>
<item name="stackViewStyle">@style/Widget.Holo.StackView</item>
<item name="numberPickerStyle">@style/Widget.Holo.NumberPicker</item>
<item name="numberPickerUpButtonStyle">@style/Widget.Holo.ImageButton.NumberPickerUpButton</item>
<item name="numberPickerDownButtonStyle">@style/Widget.Holo.ImageButton.NumberPickerDownButton</item>
<item name="numberPickerInputTextStyle">@style/Widget.Holo.EditText.NumberPickerInputText</item>
<item name="timePickerStyle">@style/Widget.Holo.TimePicker</item>
<item name="activityChooserViewStyle">@style/Widget.Holo.ActivityChooserView</item>
<item name="actionModeShareDrawable">@drawable/ic_menu_share_holo_dark</item>
<item name="actionModeFindDrawable">@drawable/ic_menu_find_holo_dark</item>
<item name="actionModeWebSearchDrawable">@drawable/ic_menu_search_holo_dark</item>
<item name="actionModePopupWindowStyle">@style/Widget.Holo.PopupWindow.ActionMode</item>
<item name="preferenceFragmentStyle">@style/PreferenceFragment.Holo</item>
<item name="dialogTitleIconsDecorLayout">@layout/dialog_title_icons_holo</item>
<item name="dialogCustomTitleDecorLayout">@layout/dialog_custom_title_holo</item>
<item name="dialogTitleDecorLayout">@layout/dialog_title_holo</item>
<item name="toastFrameBackground">@drawable/toast_frame_holo</item>
<item name="searchDropdownBackground">@drawable/search_dropdown_dark</item>
<item name="searchDialogTheme">@style/Theme.Holo.SearchBar</item>
<item name="preferenceFrameLayoutStyle">@style/Widget.Holo.PreferenceFrameLayout</item>
<item name="switchStyle">@style/Widget.Holo.CompoundButton.Switch</item>
<item name="keyboardViewStyle">@style/Widget.Holo.KeyboardView</item>
</style>
and add resources to framework/res/drawable-nodpi : http://www.mediafire.com/?tm0geb8bb088996
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
ENABLE NAVIGATION BAR
framework/res/value/bools.xml
find this line
code :
Code:
<bool name="config_showNavigationBar">[COLOR="Red"]true[/COLOR]</bool>
make sure the value is >true<
framework/res/value/dimens.xml
code :
Code:
<dimen name="navigation_bar_height">[COLOR="Red"]48.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="Red"]48.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_width">[COLOR="Red"]48.0dip[/COLOR]</dimen>
48.0dip is to big for Galaxy wonder,
change to
code :
Code:
<dimen name="navigation_bar_height">[COLOR="Red"]29.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="Red"]29.0dip[/COLOR]</dimen>
<dimen name="navigation_bar_width">[COLOR="Red"]29.0dip[/COLOR]</dimen>
tnx for sharing your knowledge adi..
never had a best mod guide in this community than you are..
-salute to you!
reinjoy said:
tnx for sharing your knowledge adi..
never had a best mod guide in this community than you are..
-salute to you!
Click to expand...
Click to collapse
you are welcome mate
Nicely done bro. Gonna try it on vanila cm10. Does it include the navigation bar settings?
Sent From Inverted Wonder w/ Xparent ICS Tapatalk
reddvilzz said:
Nicely done bro. Gonna try it on vanila cm10. Does it include the navigation bar settings?
Sent From Inverted Wonder w/ Xparent ICS Tapatalk
Click to expand...
Click to collapse
yes, for CM9 & CM10 will automatically enable Navigation Bar settings too, in "System Setting - System - Here..."
Sent from my GT-I8150 using xda app-developers app
Thank you
Sorry for my question but how to edit framework-res.apk?
I searched on forums but it doesnt work
Thank you
Madridii said:
Thank you
Sorry for my question but how to edit framework-res.apk?
I searched on forums but it doesnt work
Thank you
Click to expand...
Click to collapse
decompile it first mate. make some edit then compile.
there are so many good guide "how to decompile apk" search it in google.
Hi
I decompile the settings.apk and edit lines but ı want to recompile ı encounter the problem "An Error Occured, Please Check The Log (option 21)"
Any one help me?
Sory for my bad english
for the navigation bar, there is an option for enabling/disabling it? thanks
Batur97 said:
Hi
I decompile the settings.apk and edit lines but ı want to recompile ı encounter the problem "An Error Occured, Please Check The Log (option 21)"
Any one help me?
Sory for my bad english
Click to expand...
Click to collapse
Means that you edit or add wrong line, if you use ApkMultitool or apk manager there is an option to read the log where you can find what xml or line you did wrong.
Sent from my GT-I8150 using xda app-developers app
SpadaBoss said:
for the navigation bar, there is an option for enabling/disabling it? thanks
Click to expand...
Click to collapse
No mate , Navigation Bar option only for adding more button .
but I have an app that able to hide/disable it.. you can get the app in my other thread Mod Navigation Bar .
Sent from my GT-I8150 using xda app-developers app
give me disablebackbutton.zip for cm 10 alpha 6. i flash disablebackbutton.zip for cm9 and i had a bootloop. :crying:

[HOWTO]Compile SystemUi.apk 4.2.2

As the title suggests we're going to see how to solve the problems at compile time with regard to systemUi.apk JB 4.2.2
Who tried to do any modification to the systemUi Jelly bean version 4.2.2 you will surely find them cope with the rock the error in compilation.
Well ... I do and that's why I started to rebuild the apk since mom Samsung had "forgotten" to declare some styles so that at compile time obviously did get errors .. .
Required to do the modding version of Android 4.2.2:
SDK updated
JDK updated
APKTOOL updated
Well, at this point we can decompile the SystemUi.apk.
move on to SystemUi. apk \ res \ values ​​\ styles.xml open it and add this
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="RecentsStyle" parent="@*android:style/Theme.Holo.Wallpaper.NoTitleBar">
<item name="android:windowAnimationStyle">@style/Animation.RecentsActivity</item>
</style>
<style name="Animation.RecentsActivity" parent="@*android:style/Animation.Activity">
<item name="android:activityOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
<item name="android:activityOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
<item name="android:taskOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
<item name="android:taskOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
<item name="android:taskToFrontEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
<item name="android:taskToFrontExitAnimation">@anim/recents_launch_from_launcher_exit</item>
<item name="android:wallpaperOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
<item name="android:wallpaperOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
<item name="android:wallpaperIntraOpenEnterAnimation">@anim/wallpaper_recents_launch_from_launcher_enter</item>
<item name="android:wallpaperIntraOpenExitAnimation">@anim/wallpaper_recents_launch_from_launcher_exit</item>
</style>
[COLOR="Red"]<style name="SystemBarNotificationText">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">#ff999999</item>
</style>
<style name="SystemBarPanelSettingsRow">
<item name="android:orientation">horizontal</item>
<item name="android:background">?android:listChoiceBackgroundIndicator</item>
<item name="android:paddingRight">16.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">64.0dip</item>
</style>
<style name="SystemBarPanelSettingsIcon">
<item name="android:layout_width">64.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:scaleType">center</item>
</style>
<style name="SystemBarPanelSettingsContents">
<item name="android:textSize">18.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:layout_gravity">left|center</item>
<item name="android:layout_width">0.0dip</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_weight">1.0</item>
</style>
<style name="SystemBarPanelSettingsPanelSeparator">
<item name="android:background">@*android:drawable/divider_horizontal_dark</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">1.0dip</item>
<item name="android:layout_marginRight">0.0dip</item>
</style>[/COLOR]
<style name="TextAppearance.StatusBar.IntruderAlert" parent="@*android:style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.SystemPanel" parent="@*android:style/TextAppearance.StatusBar">
<item name="android:textAppearance">?android:textAppearance</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff808080</item>
</style>
<style name="TextAppearance.StatusBar.TextButton" parent="@*android:style/TextAppearance.StatusBar">
<item name="android:textAppearance">?android:textAppearance</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
<style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
<style name="TextAppearance.StatusBar.Date" parent="@*android:style/TextAppearance.StatusBar.Icon">
<item name="android:textSize">16.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
<style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar" />
<style name="TextAppearance.StatusBar.Expanded.Clock" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">32.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:fontFamily">sans-serif-light</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Date" parent="@style/TextAppearance.StatusBar.Expanded">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded.Date">
<item name="android:textColor">#ff999999</item>
<item name="android:textAllCaps">false</item>
</style>
<style name="TextAppearance.StatusBar.Expanded.Network.EmergencyOnly" parent="@style/TextAppearance.StatusBar.Expanded.Network" />
<style name="TextAppearance" />
<style name="TextAppearance.QuickSettings" parent="@style/TextAppearance" />
<style name="TextAppearance.QuickSettings.TileView" parent="@style/TextAppearance.QuickSettings">
<item name="android:textSize">12.0dip</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffcccccc</item>
<item name="android:ellipsize">marquee</item>
<item name="android:paddingLeft">6.0dip</item>
<item name="android:paddingRight">6.0dip</item>
<item name="android:paddingBottom">2.0dip</item>
<item name="android:fadingEdge">horizontal</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">12.0dip</item>
<item name="android:textAllCaps">true</item>
</style>
<style name="TextAppearance.QuickSettings.Clock" parent="@style/TextAppearance.QuickSettings.TileView">
<item name="android:textSize">20.0dip</item>
<item name="android:textColor">@*android:color/holo_blue_light</item>
</style>
<style name="TextAppearance.QuickSettings.Date" parent="@style/TextAppearance.QuickSettings.TileView">
<item name="android:textSize">14.0dip</item>
</style>
<style name="TextAppearance.QuickSettings.Alarm" parent="@style/TextAppearance.QuickSettings.TileView">
<item name="android:textSize">14.0dip</item>
<item name="android:textColor">#ff3a3b39</item>
</style>
<style name="BaseBrightnessDialogContainer">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginTop">15.0dip</item>
<item name="android:layout_marginBottom">15.0dip</item>
</style>
<style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" />
<style name="Animation" />
<style name="Animation.ShirtPocketPanel" parent="@style/Animation">
<item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
<item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
</style>
<style name="Animation.RecentPanel" parent="@style/Animation">
<item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
<item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
</style>
<style name="Animation.StatusBar" parent="@style/Animation" />
<style name="Animation.StatusBar.IntruderAlert" parent="@style/Animation.StatusBar">
<item name="android:windowEnterAnimation">@anim/priority_alert_enter</item>
<item name="android:windowExitAnimation">@anim/priority_alert_exit</item>
</style>
<style name="TextAppearance.StatusBar.PhoneTicker" parent="@*android:style/TextAppearance.StatusBar.Ticker">
<item name="android:textSize">14.0dip</item>
</style>
<style name="ClingButton">
<item name="android:textStyle">bold</item>
<item name="android:background">@drawable/cling_button_bg</item>
<item name="android:paddingLeft">35.0dip</item>
<item name="android:paddingTop">10.0dip</item>
<item name="android:paddingRight">35.0dip</item>
<item name="android:paddingBottom">15.0dip</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="ClingTitleText">
<item name="android:textSize">23.0sp</item>
<item name="android:textColor">#ff49c0ec</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginBottom">5.0dip</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
</style>
<style name="ClingText">
<item name="android:textSize">15.0sp</item>
<item name="android:textColor">#ffffffff</item>
<item name="android:shadowColor">#ff000000</item>
<item name="android:shadowDy">2.0</item>
<item name="android:shadowRadius">2.0</item>
<item name="android:lineSpacingMultiplier">1.1</item>
</style>
<style name="TutorialPopupStyle">
<item name="android:textSize">18.0dip</item>
<item name="android:textColor">#ff000000</item>
<item name="android:background">@drawable/help_popup_picker_bg_w_01</item>
<item name="android:paddingLeft">@dimen/smart_alert_popup_text_padding</item>
<item name="android:paddingTop">10.0dip</item>
<item name="android:paddingRight">@dimen/smart_alert_popup_text_padding</item>
<item name="android:paddingBottom">15.0dip</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
</style>
<style name="Animation_MiniAppsEditPanel">
<item name="android:windowEnterAnimation">@anim/mini_apps_edit_panel_show_anim</item>
<item name="android:windowExitAnimation">@anim/mini_apps_edit_panel_hide_anim</item>
</style>
<style name="TextAppearance_EditPanelTitle">
<item name="android:textSize">20.0dip</item>
<item name="android:textStyle">bold</item>
</style>
<style name="TextAppearance_SaveAndCancelButton">
<item name="android:textSize">20.0dip</item>
</style>
<style name="TextAppearance_EditButton">
<item name="android:textSize">18.0dip</item>
</style>
<style name="TextAppearance_PreviewLabel">
<item name="android:textSize">16.0dip</item>
</style>
<item type="style" name="APKTOOL_DUMMY_001e">false</item>
<item type="style" name="APKTOOL_DUMMY_001f">false</item>
<item type="style" name="APKTOOL_DUMMY_0020">false</item>
<item type="style" name="APKTOOL_DUMMY_0021">false</item>
<item type="style" name="APKTOOL_DUMMY_0022">false</item>
<item type="style" name="APKTOOL_DUMMY_0023">false</item>
<item type="style" name="APKTOOL_DUMMY_0024">false</item>
<item type="style" name="APKTOOL_DUMMY_0025">false</item>
</resources>
Save and you have solved your problems Now you can make all the changes you want and compile without getting any kind of error (unless you do not commit )
Thanks you! I will try and feedback later
Sent from my GT-I9300 using xda premium
---------- Post added at 09:26 AM ---------- Previous post was at 09:08 AM ----------
OMG ! i have succeeded fully to compile systemUI.apk on 4.2.2 .
Big thanks to you
Works perfectly for me, thank you !!!
thank you...the best barikke
Thanks, i was almost ready to breake the damm PC because of this
Thanks for this one! Really helpfull!
Will this change the quick toggles to "press to toggle" and "press and hold for setting" ??
I am trying to decompile my SystemUI.apk to get transparent status bar. I get the folder if systemui but I get errors in cmd saying couldnt decompile some unknown codes or sth.
Is that still okay
Sent from my GT-I9300 using xda premium
It works. Thanks for the trick.
thats all work. thank you
Mate I want to Change the date and Day Style in Notification Drawer
I want It to be one below another...
What Code should I write for that ??

Featureset.xml and seeing long sms

I want to use the stock messaging app, as Play store apps don't have the option to send sms from call log..
I have edit and tried so many settings in this file.. But my character limit only increase from 80 to 160 characters..
I want to send sms of 1000-1384 characters. Also Handset and go sms pro don't show the sms page count, like htc or Samsung default app which shows
459/3 and 460/4 characters counting..
Here is the Featureset.xml
" <?xml version="1.0" encoding="utf-8"?>
<profiles>
<FeatureSet>
<!-- Message Start-->
<item name="support_svlte">true</item>
<item name="MMSHiddenConfig">true</item>
<item name="OperatorMessage">true</item>
<item name="spam">false</item>
<item name="LGUspam">true</item>
<item name="KRWapPushWithSpam">true</item>
<item name="change_MemoryFull_Threshold">true</item>
<item name="limitless_unauthorized_SMS_usage">true</item>
<item name="KREncodingScheme">true</item>
<item name="KSC5601Encoding">true</item>
<item name="KSC5601Decoding">true</item>
<item name="addSCAddress">true</item>
<item name="countCharIndexInsteadOfSeptets">true</item>
<item name="countLengthBytes">true</item>
<item name="KROperator">true</item>
<item name="KRVMSType">true</item>
<item name="ConcatMTCheckTimestamp">true</item>
<item name="kr_sms_kpas">true</item>
<item name="releaseOperatorMccMnc">45006</item>
<!-- LGU Message Start-->
<item name="lgu_cbs">true</item>
<item name="dtmf_error_handle">true</item>
<item name="timestamp_correction">true</item>
<item name="lgu_dispatch">true</item>
<item name="kr_address_spec">true</item>
<item name="lgu_address_spec">true</item>
<item name="lgu_userdata_encoding">true</item>
<item name="save_usim_3gpp_in_cdma">true</item>
<item name="lgu_gsm_submit_encoding_type">true</item>
<item name="sms_full_exception_case">true</item>
<item name="use_reply_address_in_usim_restore">false</item>
<item name="replyAddress">true</item>
<item name="LGU_OEMMMS">false</item>
<item name="lgu_disable_smsoverims_in_gsm">true</item>
<item name="SendIntentFailure">true</item>
<!-- constants -->
<item name="MemoryFull_Threshold">10485760</item>
<item name="max_user_data_bytes_ex">80</item>
<item name="max_user_data_septets_ex">80</item>
<item name="limit_user_data_septets">91</item>
<item name="doNotUse_AP_retry">true</item>
<item name="lgu_gsm_operator_message">true</item>
<item name="vmn_count_hex_conversion">true</item>
<!-- LGU Message End-->
<item name="seperate_processing_sms_uicc">true</item>
<item name="copy_submit_to_uicc">true</item>
<item name="sms_separate_usimbox">true</item>
<item name="cdma_sms_callback">true</item>
<item name="sms_over_ims_in_lte_single_mode">false</item>
<item name="create_pdu_by_sms_format">true</item>
<item name="sms_permission_tracking">true</item>
<item name="support_emoji_in_concat_message">true</item>
<item name="KR_notSaveAfterSend">true</item>
<!-- Message End-->
<!-- Telephony Start-->
<item name="LGU_roaming_ecclist">112,119,122,911</item>
<item name="LGU_ecclist">119,111,112,113,122,125,117,118</item>
<item name="support_send_burst_dtmf">true</item>
<item name="NotDisableDataCallInEmergencyCall">true</item>
<item name="NotSupportOtaSpNumber">true</item>
<item name="RingBackTone">true</item>
<item name="Korea_RAD">true</item>
<item name="Korea_CNAP">true</item>
<item name="Korea_CDNIP">true</item>
<item name="Korea_USSD">true</item>
<item name="KR_Modem_Item">true</item>
<item name="KR_RAD_TEST">true</item>
<item name="LGU_CDMA_ERI_TEXT">true</item>
<item name="Is_QCRIL">true</item>
<item name="KR_REJECT_CAUSE">true</item>
<item name="lgu_global_roaming">true</item>
<item name="MANAGED_TIME_SETTING">true</item>
<item name="MAUNAL_TIMEZONE_SETTING_POPUP">true</item>
<item name="NITZ_WAITING_TIMEOUT">10000</item><!--miliseconds-->
<item name="MANAGED_TIME_LOCAL_AREAS">450</item>
<item name="CHANGE_CDMA_SUBSCRIPTION_TO_RUIM">true</item>
<item name="SKT_FIRST_ROAMING_DIALOG">false</item>
<item name="OEM_RAD_DIALER_POPUP">true</item>
<item name="USIM_PERSONAL_LOCK">false</item>
<item name="MANUAL_SELECTION_WITH_RAT">true</item>
<item name="SHOW_NETWORK_NAME_WHEN_MANUAL_NETWORK_SETTING_FAIL">true</item>
<item name="SAVE_NETWORK_OPERATOR_SHORT_NAME">true</item>
<item name="LGE_NumberFormat">true</item> <!-- Number format : GB form -->
<item name="2_CHIP_DELAY_FOR_NT_MODE_CHANGE">0</item>
<item name="LGE_PHONE_NUMBER_QUERY">true</item>
<!-- LGE_CHANGE_S, [Net_Patch_1201][CALL_FRW][LGU], 2013-02-15, LGU+ KNIGHT v2.95 -->
<item name="LGU_KNIGHT_V2_9">true</item>
<!-- LGE_CHANGE_E, [Net_Patch_1201][CALL_FRW][LGU], 2013-02-15, LGU+ KNIGHT v2.95 -->
<item name="GROUP_CUSTOM_RINGTONE">true</item>
<item name="support_cdg2_test">true</item>
<!-- LGE_CHANGE_S, [Tel_Patch_1208][CALL_FRW][LGU], 2013-03-18, LGU+ LTE single device -->
<item name="lgu_lte_single_device">false</item>
<!-- LGE_CHANGE_E, [Tel_Patch_1208][CALL_FRW][LGU], 2013-03-18, LGU+ LTE single device -->
<!-- LGE_CHANGE_S, [Net_Patch_1207][CALL_FRW][LGU], 2013-04-02, LGU+ network mode change (GWL->GW) arriving at roaming area -->
<item name="lgu_lte_roaming">false</item>
<!-- LGE_CHANGE_E, [Net_Patch_1207][CALL_FRW][LGU], 2013-04-02, LGU+ network mode change (GWL->GW) arriving at roaming area -->
<item name="SUPPORT_INFO_FOR_IMS">true</item>
<item name="guide_automatic_time_setting">true</item>
<!-- Telephony END-->
</FeatureSet>
</profiles>
Sent from my LG-F180L Stock Kitkat 4.4.2 using XDA Free mobile app
For everyone facing the sms problem with character length limitation to "80" or failing to send a concatenated sms message which converts to mms automatically do the following steps
1. Find the file featureset.xml in system/etc and open in text editor (Need root access then use root explorer for example)
2. Change the following values
Find <item name="KREncodingScheme">true</item> change to <item name="KREncodingScheme">false</item>
Find <item name="max_user_data_bytes_ex">80</item> change to <item name="max_user_data_bytes_ex">160</item>
Find <item name="limit_user_data_septets">160</item> change to <item name="limit_user_data_septets">1384</item>
3. Save and close then reboot

Enabling bluetooth+wifi in Location Services prevents phone from going to Deep Sleep

This happens in the port to Asus Zenfone3. What to check/test in order to debug this? I tried this (found on xda):
--- a/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -5,9 +5,9 @@
<item name="screen.full">221</item>
<item name="bluetooth.active">26</item>
<item name="bluetooth.on">0.83</item>
- <item name="wifi.on">0.08</item>
- <item name="wifi.active">356</item>
- <item name="wifi.scan">57</item>
+ <item name="wifi.on">2</item>
+ <item name="wifi.active">767</item>
+ <item name="wifi.scan">313</item>
<item name="dsp.audio">120</item>
<item name="dsp.video">280</item>
<item name="camera.flashlight">247</item>
This did not make a difference, what else to look at? Thanks.
ps. is anyone from lineage team reading this forum at all? just curious

Categories

Resources