What file controls the ringer volume color - Epic 4G Q&A, Help & Troubleshooting

Can someone please tell me what file controls the ringer/media bar color? Some how I have gotten mine white and can't figure out how to get it back to green.

Framework/drawable/progress_horizontal.XML. recompile and enjoy! At least that is the file in the Captivate and Inspire
Sent from my Inspire 4G using XDA Premium App

adamholden85 said:
Framework/drawable/progress_horizontal.XML. recompile and enjoy! At least that is the file in the Captivate and Inspire
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
Perfect! Thank you for the quick response.

OK so who can tell me how to figure out the color codes? The contents of that file are below. I have googled all of the #codes but can't find any of them. Can someone direct me to a place that will make sense of this?
<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#ff989898" android:endColor="#ff686868" android:angle="270.0" android:centerColor="#ff686868" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#5053ff53" android:endColor="#80029d02" android:angle="270.0" android:centerColor="#8030a030" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="4.659973dip" />
<gradient android:startColor="#ff53ff53" android:endColor="#ff029d02" android:angle="270.0" android:centerColor="#ff30a030" />
</shape>
</clip>
</item>
</layer-list>

Look where it says secondary progress and progress. You got 3 color codes after them. Those 3 color codes make up the volume bar. Start, end, middle. Its self explanatory. The #ffrrggbb Ff is the transparency. Rrggbb is the actual color code and you can get the code from any photo editing software or by googling color charts.
Sent from my PC36100 using XDA App

Exactly right that is actually some straight forward coding
Sent using my Evo 4g with Cyanogen 7 nighty 87

Yeah I figured it out. I was forgetting the first two letters being transparency. Thanks for all of the help.

Related

[Q] Main Menu Font color where is the hex? what xml what apk?

As the title says where can i change the main memu font color?
As you can see from the screen shot the text is black on black & its really hard to read i just want to change the hex color code to 0xFFFFFFFF White
DON'T tell me to search cuz i just did & i searched for about 4 hours last night (when xda was down) looking on google & AC. I did find an other person with the same problem http://forums.androidcentral.com/ep...0-how-do-i-change-font-color.html#post1422040
Some one said it was in values/styles.xml in the framework-res.apk. But i unziped the apk with 7zip & searched the folder & did not find styles.xml
I'm trying to fix Shake & Bake Mix up 5.9 NO lock mod
Also any pointers on repacking the apk. Or if you just feel like doing it your self thats cool. but i do want to lean more about it. So be detailed if you can
I have been reading http://forum.xda-developers.com/showthread.php?t=821638&highlight=guide .
You can't find that xml by unzipping the framework. You have to decompile it. It's definitely in the framework in that xml though.
Sent from my SPH-D700 using Tapatalk
WOW that was fast
With APK Manager 4.9? will that work?
Should. Read up on how it works though, there should be a thread for it, gl.
Sent from my SPH-D700 using Tapatalk
Code:
<style name="WindowTitle">
<item name="textAppearance">@style/TextAppearance.WindowTitle</item>
<item name="singleLine">true</item>
<item name="shadowColor">[COLOR="Red"]#ff000000[/COLOR]</item>
<item name="shadowDx">-1.0</item>
<item name="shadowDy">-1.0</item>
<item name="shadowRadius">0.3</item>
</style>
Does any one know if the red is the right line?
I believe that's black, and I believe it may be the correct one. Best way to find out is try and test it.
Sent from my SPH-D700 using Tapatalk
Yea I believe the first two characters are transparency level. Then the rest is the color hex value.
Sent from my SPH-D700 using Tapatalk

[Request] Status Bar Mod

Tried to do this earlier today and kept getting the no statusbar result.
Can somebody please do the following status bar mod for me?
I would like NO Clock, NO Battery and No GPS/Location Icon (the one that is always there, not the one that appears with GPS On/Active).
I'm currently on the NoSympathy Rom. Ive attached the SystemUI.apk
Thanks!
Pretty please? ^_^
Sent from my SCH-I535 using Tapatalk 2
mastamoon said:
Pretty please? ^_^
Click to expand...
Click to collapse
mastamoon said:
I'm currently on the NoSympathy Rom.
Click to expand...
Click to collapse
Am I the only one who finds this a bit ironic?
Sorry mastamoon, but I've not found the edits for those yet.
I can tell you that if you know how to decompile the APK... all you should need to do is comment out a few lines in the appropriate statusbar xml file...
I bet if you ask in the NoSympath ROM thread, someone could tell you exactly which files and edits need to be made.
Especially if you offer to share with other NoSympathy users.
DroidGnome said:
Am I the only one who finds this a bit ironic?
Sorry mastamoon, but I've not found the edits for those yet.
I can tell you that if you know how to decompile the APK... all you should need to do is comment out a few lines in the appropriate statusbar xml file...
I bet if you ask in the NoSympath ROM thread, someone could tell you exactly which files and edits need to be made.
Especially if you offer to share with other NoSympathy users.
Click to expand...
Click to collapse
Haha nice.
I tried for an hour or 2. I have modded apks before but couldn't get these mods to work. Hopefully somebody will be able to help me out. Really miss my TSM tweaks on my old Dinc2.
Sent from my SCH-I535 using Tapatalk 2
I tried but I couldn't get it to decompile, kept getting "bad magic values". So I downloaded the ics_Apktool and kept getting "can't create smali directory" If I can get it decompiled I can take a stab at it, although I don't have Verizon and won't be able to test it. Not sure how Verizon differs from Sprint but here is how I modded my SystemUI
No Clock
-Removed this the following from tw_status_bar_xml.
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
No Battery/No GPS
-I know its not the best way but I just replaced icons with a 1x1 pixel transparent image
Also did you make sure to copy over the original META-INF and AndroidManifest to the new apk?
I got it decompiled and I can remove the clock no problem but I'll have to look into the battery and GPS never removed them before
Sent from my SAMSUNG-SGH-I747 using xda premium
chriswill412 said:
I tried but I couldn't get it to decompile, kept getting "bad magic values". So I downloaded the ics_Apktool and kept getting "can't create smali directory" If I can get it decompiled I can take a stab at it, although I don't have Verizon and won't be able to test it. Not sure how Verizon differs from Sprint but here is how I modded my SystemUI
No Clock
-Removed this the following from tw_status_bar_xml.
<com.android.systemui.statusbar.policy.Clock android:textSize="@dimen/status_bar_clock_text_size" android:textColor="#ff959595" android:gravity="left|center" android:id="@id/clock" androidaddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:includeFontPadding="false" />
No Battery/No GPS
-I know its not the best way but I just replaced icons with a 1x1 pixel transparent image
Also did you make sure to copy over the original META-INF and AndroidManifest to the new apk?
Click to expand...
Click to collapse
Yeah I tried a few different combos of swapping meta, manifiest and resources.arsc from old to new, still caused my statusbar to disappear.
smartguy044 said:
I got it decompiled and I can remove the clock no problem but I'll have to look into the battery and GPS never removed them before
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
I was able to decompile and recompile without issue using APK-Tool Beta so Im sure its either one of the edits or moving those files from the original apk to the new apk. Guess Ill have to try again 1 by 1.
If you go look in the Touchwiz theming sticky, all of your questions should be answered there. There is also a repacked apktool and apk manager that will work for you in that thread. The apk manager you're looking for is "wanam apk manager".
Sent from my SAMSUNG-SGH-I747 using xda premium

[Q]Problems modifying trebuchet

I'm trying to modify Trebuchet launcher bundled with CM10 to have an transparent app drawer.
I've changed the following lines in /res/layout/apps_customize_pane.xml:
Code:
<com.cyanogenmod.trebuchet.AppsCustomizeTabHost android:background="#00000000"
<FrameLayout android:background="#00000000" android:id="@id/animation_buffer" android:layout_width="fill_parent" android:layout_height="fill_parent" android:visibility="gone"/>
It turns out to only be transparent at the transition effect to app drawer and turns black again when transition effect ends.
So what am I missing here?
Edit: The drawer is transparent also if the menu is visible and if status bar is slided down.
Sent from my HTC One X using xda app-developers app

How to Date and Time

Mod?
Date and Time in center of notification bar
Sent from my GT-I9300 using xda premium
And change color
Sent from my GT-I9300 using xda premium
delbert3mil said:
And change color
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Assuming know how to use apk tools use this guide:
Guide:
Center Clock Mod and its Color
Decompile SystemUI.apk
Systemui/res/layout/tw_status_bar.xml
Delete:
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="left|center" android:id="@id/clock" android:paddingLeft="6.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Then find this line and create a blank under it:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
Copy this line in the gap and save.
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:paddingTop="3.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
To change the clock color after
Code:
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock"
Add
Code:
android:textColor="#ffXXXXXX
Put you favorite color code for the XXXXXX value
kmokhtar79 said:
Assuming know how to use apk tools use this guide:
Click to expand...
Click to collapse
he doesn't.
Wtf!
Sent from my GT-I9300 using xda premium
are you serious........... there are tonnes mods even on the first page of this thread with center clock......................
delbert3mil said:
Wtf!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
as expected

[THEMES][MODS][JB 4.1.2]churapa Themes/Mods

churapa Themes/Mods​
I made a list of the mods I've made, they're mostly for NeatROM, but they may work on other roms, just don't forget to perform backups before flashing anything new to your devices.
-Transparent minimal fixed:
http://forum.xda-developers.com/showpost.php?p=40774419&postcount=48963
-Transparent Minimal Theme:
http://forum.xda-developers.com/showpost.php?p=39856721&postcount=42761
-Pink Theme:
http://forum.xda-developers.com/showpost.php?p=38619115&postcount=35850
Transparent Music Player:
http://forum.xda-developers.com/showpost.php?p=39963866&postcount=2
Bottom toggles (my very first one):
http://forum.xda-developers.com/showpost.php?p=38318908&postcount=33885
-23 Toggles, Black Statusbar and no Brightness Slider:
http://forum.xda-developers.com/showpost.php?p=42439599&postcount=60052
-Stock 23 bottom toggles:
http://forum.xda-developers.com/showpost.php?p=42750374&postcount=63112
-Stock Blue toggles Background:
http://forum.xda-developers.com/showpost.php?p=42782310&postcount=63384
-Like the last but with Brightness slider on top of Blue bottom toggles:
http://forum.xda-developers.com/showpost.php?p=42789024&postcount=63412
-Just Bottom brightness slider, 23 toggles:
http://forum.xda-developers.com/showpost.php?p=42803274&postcount=63572
-S4 Lookalike theme:
http://forum.xda-developers.com/showpost.php?p=42888208&postcount=64090
-5AOSP icon on lockscreen, 6Stock icons on lockscreen, new System animations, etc:
http://forum.xda-developers.com/showpost.php?p=43108117&postcount=64583
-Dropdown transparent bottom center Clock:
http://forum.xda-developers.com/showpost.php?p=43358389&postcount=65227
-Bottom Centered Clock
http://forum.xda-developers.com/showpost.php?p=44174257&postcount=100
Downloads and Repository here, thanks to @ApriliaM3
For making your own Basic Mods and links on how to do it, please visit @bombaybadboy thread here
Bottom Toggles
Here is a little guide on how to set the toggles at the bottom of the dropdown Status bar:
In /SystemUI.apk/res/layout/tw_status_bar_expanded, move the following lines:
Code:
<include android:layout_width="fill_parent" android:layout_height="@dimen/tw_notification_panel_header_height" layout="@layout/tw_status_bar_expanded_header" />
<TextView android:gravity="center" android:id="@id/emergency_calls_only" android:paddingBottom="4.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" android:layout_marginTop="@dimen/tw_notification_panel_header_height" />
Place them right between
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart"...........
and
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller"...................
Then, just before
Code:
<com.android.systemui.statusbar.phone.CloseDragHandle....
Create a LinearLayout and place inside it the following lines (which you will move from its original location):
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="@dimen/quick_setting_button_height">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
</HorizontalScrollView>
You will get this:
Code:
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginBottom="32.5dip">
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="0.0dip" android:overScrollMode="never">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="#00000000" android:showDividers="middle" />
</HorizontalScrollView>
</LinearLayout>
Note, if you have 23 toggles mod, just add the highlighted line to the last part mentioned above:
Code:
<LinearLayout android:layout_gravity="bottom" android:orientation="vertical" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="80.0dip" android:layout_marginBottom="32.5dip">
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="0.0dip" android:overScrollMode="never">
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="#00000000" android:showDividers="middle" />
</HorizontalScrollView>
[COLOR="SeaGreen"]<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="wrap_content" android:layout_height="75.0dip" />[/COLOR]
</LinearLayout>
System Animations
To have the windows animations included in my latest mod, just replace (push it and set permissions) the whole anim folder located in /framework-res.apk/res/ with the one that is inside the .zip file I'm attaching.
Sense Style Task Manager
For all of you trying to get the Sense Style Task Manager, I'm attaching all the necessary files for you to compare/replace and get the mod done. This is not a flashable file, it's only the files you need to make the mod.
This mod has a transparent background, if you want a darker background, just edit status_bar_recents_background in /SystemUI/res/drawable and change as follow to what is highlited in red:
Code:
<gradient android:startColor="[COLOR="Red"]#e6000000[/COLOR]" android:endColor="[COLOR="red"]#c0000000[/COLOR]" android:angle="@integer/status_bar_recents_bg_gradient_degrees" name="status_bar_recents_background" />
Credits to @evilisto and @jackq for the initial mods.
:thumbup::thumbup::thumbup:
Sent from my GT-I9100G using xda premium
Excellent guide:thumbup:
Sent from my GT-I9100 using Tapatalk 2
Amazing work m8 and now all in one place, definitely 5★ . Also is it ok to add a link in my thread to yours plz
Sent from my GT-I9100 using xda premium
bombaybadboy said:
Amazing work m8 and now all in one place, definitely 5★ . Also is it ok to add a link in my thread to yours plz
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Of course my friend, you don't need to ask! :good:
Awsome work.. Thanks a ton bro.
As you promise you did it. :thumbup:
Sent from my iPad using Tapatalk HD
Sweet :laugh:
You finally decided to show us all your secret about how you modding
Sent from my GT-I9100 using Tapatalk 4
Christian Nothing said:
Sweet :laugh:
You finally decided to show us all your secret about how you modding
Sent from my GT-I9100 using Tapatalk 4
Click to expand...
Click to collapse
churapa got me started and interested in modding-theming. I would still be looking how to change the colour of policy clock if he didnt show me how
Sent from my GT-I9100 using xda premium
Hello, I have a question about this mod
-5AOSP icon on lockscreen, 6Stock icons on lockscreen, new System animations, etc:
I installed, I have now 6 shortcuts on lockscreen, I have the left clock, I disabled crt off. But there is something connected to Torch in the description, does this also involves torch on lockscreen when pressin menu button when lockscreen activated? Because I could'n t do it.
Also, do you have a mode for putting screenshot capture on power menu?
thanks for your nice mods. I am on ROMs4 v1.6 by dawkon13
ruh01 said:
Hello, I have a question about this mod
-5AOSP icon on lockscreen, 6Stock icons on lockscreen, new System animations, etc:
I installed, I have now 6 shortcuts on lockscreen, I have the left clock, I disabled crt off. But there is something connected to Torch in the description, does this also involves torch on lockscreen when pressin menu button when lockscreen activated? Because I could'n t do it.
Also, do you have a mode for putting screenshot capture on power menu?
thanks for your nice mods. I am on ROMs4 v1.6 by dawkon13
Click to expand...
Click to collapse
Guide for adding screenshot in power menu
Sent from my GT-I9100 using Tapatalk 2
Thnx man, but I can hardly flash a zip from recovery It is much over my skill and knowledge. I guess I would stick to the old 2 button trick (power and menu simulteneously)
@churapa
This mod http://forum.xda-developers.com/showthread.php?p=43108117
On NeatROM lite lsw is making my phone to have random reboots .
For example on lockscreen if I hold the home button the phone rr , if I press the power button on settings the same rr .
I'm using your mod for kinda 3 days and this happens kinda 3 or 4 times a day .
All I was enjoying from this mod it's aosp 5 lock and 6 icons on lockscreen .
I'll try another mod to see if the problem is solved and I'll report back soon
Sent from my GT-I9100 using Tapatalk 4
Christian Nothing said:
@churapa
This mod http://forum.xda-developers.com/showthread.php?p=43108117
On NeatROM lite lsw is making my phone to have random reboots .
For example on lockscreen if I hold the home button the phone rr , if I press the power button on settings the same rr .
I'm using your mod for kinda 3 days and this happens kinda 3 or 4 times a day .
All I was enjoying from this mod it's aosp 5 lock and 6 icons on lockscreen .
I'll try another mod to see if the problem is solved and I'll report back soon
Sent from my GT-I9100 using Tapatalk 4
Click to expand...
Click to collapse
Mate disable ripple effect in lockscreen option..
And see ..
Sent from my GT-I9100 using Tapatalk 2
corruptionfreeindia said:
Mate disable ripple effect in lockscreen option..
And see ..
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
It's already been disabled cuz that mod include flame effect so I was using it .
I think the problem is with framework-res.apk I think is interacting with other mod that the rom came .
And I'm using a clean version of it .
Sent from my GT-I9100 using Tapatalk 4
---------- Post added at 11:55 AM ---------- Previous post was at 11:25 AM ----------
Done
I flashed a new 5 lock mod and the hot reboot bug is gone . @churapa mate can you fix your mod cuz I like yours more than the others .
Thank you
Sent from my GT-I9100 using Tapatalk 4
Christian Nothing said:
@churapa mate can you fix your mod cuz I like yours more than the others .
Thank you
Click to expand...
Click to collapse
It works fine here. I don't know what to fix because I'm using it and couldn't reproduced your "bug".
Please, be careful in your appreciations, you now carry a RC tag and as such your opinions influence many new users. I can't fix anything that is not broken (at least not for me).
I mainly do my mods for myself but I share them in case someone does like them.
@corruptionfreeindia Thanks for helping me here in the thread.
churapa said:
It works fine here. I don't know what to fix because I'm using it and couldn't reproduced your "bug".
Please, be careful in your appreciations, you now carry a RC tag and as such your opinions influence many new users. I can't fix anything that is not broken (at least not for me).
I mainly do my mods for myself but I share them in case someone does like them.
@corruptionfreeindia Thanks for helping me here in the thread.
Click to expand...
Click to collapse
No worries ..
I see(Bbb's , churapa's , sale's , ics's, rosa's, It_ler's, spannaa's )threads as my own thread. .
Because
#friendsforever
Sent from my GT-I9100 using Tapatalk 2
churapa said:
It works fine here. I don't know what to fix because I'm using it and couldn't reproduced your "bug".
Please, be careful in your appreciations, you now carry a RC tag and as such your opinions influence many new users. I can't fix anything that is not broken (at least not for me).
I mainly do my mods for myself but I share them in case someone does like them.
Click to expand...
Click to collapse
mate i dunno what to say
i switched to another mod with aosp lock and it doesn't create the same bugs that i had with your mod :silly:
anyway i'll try it once again with clean rom and i'll report back

Categories

Resources