Hi all
Well, I'm trying to understand what happens to the status bar height :
- in dimens.xml from framework-res.apk, default height is set at 25dip
- in reality the status bar is 19pix height (which is not good for icons appearance)
- I have standard lcd density set to 120 and don't want to modify this setting
- when I set status bar height at 31dip then I have 23pix in reality, so it doesn't seems that there is a linear relation with lcd density ( I should have 24pix instead). perhaps there is a constraint somewhere ... but where ?
Someone knows how this works ???
thanks !
Response is here :
http://developer.android.com/guide/practices/ui_guidelines/icon_design.html#statusbarstructure
So dimens.xml sets 25 height for mdpi ...and as we are in ldpi it's 19 ...
So we have to make 19x19 icons to make them have a good looking ! so small ...
I do ! but not with the good keyword ...
So after posting I thought in an other way ...
Thanks for your explication anyway !
is there any solution to the blurred statusbar icons when changing the density to 130 ?
thx for reply
Hi everyone, hope i am posting this in the right section..
Guys, my phone is Samsung Galaxy Mini which is a ldpi device which now runs on an ICS rom. I am trying to change the color for the brightness sliders and volume sliders. Which .xml need to be edited to change the colour..
I decompiled framework-res.apk and changed hex color values under @id/progress and @id/secondary progress in "progress_horizontal.xml", also changed colors of few pngs in drawable-mdpi in framework,now the progress seek bar has changed the color,but brightness slider color remains the same.
I then decompiled systemui.apk and changed the hex color values under @id/progress in "adi_seekbar.xml",but nothing got changed..
Can anyone help me? Which .xml is associated with the seek bar for brightness and volume slider? Or should i deal with smali files to change the color of brighntness slider and volume slider..
Hi everyone, hope i am posting this in
the right section..
Guys, my phone is Samsung Galaxy
Mini which is a ldpi device which now
runs on an ICS rom. I am trying to
change the color for the brightness
sliders and volume sliders.
Which .xml need to be edited to
change the colour..
I decompiled framework-res.apk and
changed hex color values under @id/
progress and @id/secondary progress
in "progress_horizontal.xml", also
changed colors of few pngs in
drawable-mdpi in framework,now the
progress seek bar has changed the
color,but brightness slider color
remains the same.
I then decompiled systemui.apk and
changed the hex color values under
@id/progress in
"adi_seekbar.xml",but nothing got
changed..
Can anyone help me? Which .xml is
associated with the seek bar for
brightness and volume slider? Or
should i deal with smali files to
change the color of brighntness slider
and volume slider..
If that brightness slider you're talking about is in status bar, then look for it's pngs in /res/drawable/ or any drawable folder
iamareebjamal said:
If that brightness slider you're talking about is in status bar, then look for it's pngs in /res/drawable/ or any drawable folder
Click to expand...
Click to collapse
Please see the ss.. need to change the color of brightness slider in the notification drawer.. tried theming all the png's which was mentioned on progress_xx.xml,only the progress bar got changed.. color of the brightness slider is still the same..
This is the ss of volume slider.. this and the brightness slider are the ones i am trying to theme..
Rajesh_m said:
Please see the ss.. need to change the color of brightness slider in the notification drawer.. tried theming all the png's which was mentioned on progress_xx.xml,only the progress bar got changed.. color of the brightness slider is still the same..
Click to expand...
Click to collapse
Check the pngs in SystemUI.apk
iamareebjamal said:
Check the pngs in SystemUI.apk
Click to expand...
Click to collapse
"ic_sysbar_highlight.png" ... will this be the png associated with it? I left to theme this as i thought this wont be the one..
Edit: the above mentioned png is associated with mid_navigation_bar.xml... so no luck with png's
On CM9 and CM10 is quickpanel_brightness_bg.png for the bar and quickpanel_brightness_icon.png for the icon between the bar
davidebeatrici said:
On CM9 and CM10 is quickpanel_brightness_bg.png for the bar and quickpanel_brightness_icon.png for the icon between the bar
Click to expand...
Click to collapse
Thanks for the reply So Quickpanel_brightness_bg changes the slider color or the background color?
Slider I think; background seems to be something like quickpanel_brightness_background.png
davidebeatrici said:
Slider I think; background seems to be something like quickpanel_brightness_background.png
Click to expand...
Click to collapse
Changed the color of quickpanel_brightness_bg.png.... and... guess what.... nothing got changed its all the same
Rajesh_m said:
Changed the color of quickpanel_brightness_bg.png.... and... guess what.... nothing got changed its all the same
Click to expand...
Click to collapse
The xml files that control the progress bar color are theme-dependant and located inside the /res/drawable/ folder.
The names of the files are:
1. scrubber_progress_horizontal_dark.xml
2. scrubber_progress_horizontal_light.xml
In each of these files you'll find a layered list of png's which you'll have to edit to change the look of your progress bar. The last two, scrubber_primary_holo and scrubber_secondary_holo are what you're looking for.
You'll find these in /res/drawable-hdpi (usually). Galaxy Mini, being a LDPI device, it will firstly search for the pngs in drawable-ldpi, then if they're not present there, it will continue searching for the same pngs in the other folder in this order: mdpi, hdpi, xhdpi, xxhdpi. Make sure you edit the pngs found in the folder which represents the lowest resolution possible.
One more thing, these being pngs, you can change the whole look of the slider, not just the color.
alin.p said:
The xml files that control the progress bar color are theme-dependant and located inside the /res/drawable/ folder.
The names of the files are:
1. scrubber_progress_horizontal_dark.xml
2. scrubber_progress_horizontal_light.xml
In each of these files you'll find a layered list of png's which you'll have to edit to change the look of your progress bar. The last two, scrubber_primary_holo and scrubber_secondary_holo are what you're looking for.
You'll find these in /res/drawable-hdpi (usually). Galaxy Mini, being a LDPI device, it will firstly search for the pngs in drawable-ldpi, then if they're not present there, it will continue searching for the same pngs in the other folder in this order: mdpi, hdpi, xhdpi, xxhdpi. Make sure you edit the pngs found in the folder which represents the lowest resolution possible.
One more thing, these being pngs, you can change the whole look of the slider, not just the color.
Click to expand...
Click to collapse
Thanks for the detailed post and you are SPOT ON! i have no idea how i missed those png's.. thanks a lot @alin.p
Is there a way to change the icon size & font size of the quick setting icons or the status bar icons? I find it really annoying since the icons and font size don't match with the whole system font size and display size. Tried changing DPI but that doesn't help either. Does anyone know how to get this fixed?