Editing CM7 Statusbar - Android Software Development

Hello....
I've got a problem, I was trying to modify the original Statusbar of CM7.First I haven't got any problems when I change the battery, wifi, bluetooh and oher icons, but for finish my work I want to edit the green lines that appears, when the statusbar is open, under some quick setiings (like wifi, bluetooh, gps and sound), and replace it for some blue lines....
But I didn't find and know what is the image.png or the .xml that I must to modify for do that.
I add an Image, with a mark around that exactly I want to modify, and my framework-res.apk and SystemUI.apk too...
Please help me...
framework-res.apk
SystemUI.apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

You can change it in settings/CyanogenMod settings/interface/notification power widget/indicator color

shanman-2 said:
You can change it in settings/CyanogenMod settings/interface/notification power widget/indicator color
Click to expand...
Click to collapse
That's isn't be that I need, I need to change the default color without any interface modification, that I wan't to do is modify any xml that contan the default color.... but my problem is that I don't where and what is that xml....

i think you should change the default colour on the menu thro it's code... not in the systemui... i think so

Settings > Cyanogenmod Settings > Interface > Notification power widget > Indicator color
Sent from my ADR6300 using Tapatalk 2

I believe he's putting a pre-customized ROM together and would like to change what the initial color is.

I've been trying to do the same thing with no luck finding the code for it

Related

[Q/Help] WM 6.5.x theming (textbutton color)

Hi guys,
I'm very new to theming WM 6.5.x standard themes. I took a standard one and tried to edit them. Pretty easy
The only thing I need help is how to change color to the standard text buttons.
I found this: http://msdn.microsoft.com/de-de/library/ff599682.aspx
I put that REG_DWORD here (as described @ MSDN):
HKEY_CURRENT_USER\Software\Microsoft\Today\<myownthemename>
COLOR_BTNTEXT = ffffff
(Changing the textcolor to white)
BUT: I don't get it to work
Does anybody know what I did wrong?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
To make it clear: I want to change the textcolor of the button(s) which are labeled as "Löschen/Durchsuchen"
try using an app called UI Tweaker, it could change some system values without big problems (it is possible to export and import the schemes to verify every step in the modifing procedure)
HKLM,"Software\Microsoft\Color","ThemeValues",0x00000001,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ef,ef,ef,00,ef,ef,ef,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ef,ef,ef,00,ef,ef,ef,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ef,ef,ef,00,ef,ef,ef,00,21,30,43,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,21,30,47,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ef,ef,ef,00,00,00,00,00,00,00,00,00,00,00,00,00
Sorry for my English
The role of the color code 56 Group: Select Article options displayed when the current font color, select the state of preparation of the text displayed when the font - the font color (default white FFFFFF)
第56组颜色代码作用: 选择条选择当前字体时显示的颜色、编写文字状态下选择字体时显示的——字体颜色(默认为白色 FFFFFF)
Maybe you can read this article, it teaches you how to be a WM6.5 theme
WM6.5主题制作详细图文教程,全套制作工具,适合任何分辨率
http://hi.baidu.com/kenchan/blog/item/3e083cdb828ebf6cd1164e25.html
Thank you guys, I'll have a look on it
Couldn't get it to work.
I changed the value from:
HKLM,"Software\Microsoft\Color","ThemeValues",0x00000001,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,55,aa,11,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
to:
HKLM,"Software\Microsoft\Color","ThemeValues",0x00000001,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,55,aa,11,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00
but there's no effect on it
Are you sure, it's the right reg-entry?

Customizing your own notification/status bar

I have been searching around for a suitable theme for cm7, thou I found some really great looking theme out there, there is always something I like or don't like. So I thought I start a little project of my own to customize the theme myself.
I have been studying the framework.apk last night, but I am still not sure which file to change, because the naming is not too definitive to me. So I was wondering any theme builder out there can help me. Hopefully compile a guide for future beginners at some point as well.
The screenshot below with four different colour bracket is the parts I want to change, it would be so kind if someone can take a few minutes of their time to explain it to me with file I need to edit for each section.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Red: power toggle background
Blue: power toggle icons
Green: Notification item background
Yellow: Bottom tab.
With friendly greeting
/system/framework/framework-res.apk
Under /res/drawable-hdpi in the apk
The top bar icons are stat_
e.g. stat_battery36.png etc
Most of the images are in framework-res.apk so just have a look through there. You will need to decompile the apk to edit xml files for that search apktool
i heard that you can just add a .zip extension onto the apk file then you can just edit them there.
Or perhaps I am wrong, because once I change it to a zip file, I can't change it bk to apk even I rename the extension.
I am on a Mac, not sure if thats has anything to do with it.
thanks

[Help] framework-res XML editing problems

Hello there
I try to make a theme for the Rascream rom and i have some problems with XML editing and from what i see i'm not the only one with this problem.
I actually try to change colors of the text and a line in popup menu, but every time i recompile the framework-res apk with modified values, the statusbar and the lockscreen are deformated (look the screenshot)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I try to change the blue text and line in this screen to white...
Is here someone can help with this problem. This is the only thing i need to change for finish the theme. I try all i find over the internet, but without success.
No one?
Sometimes xml editing involves adding new lines to overlay others somewhere else. With ics ive noticed in arrays there are theme statements which change cursors, texts, and borders just from one change to the statement. Maybe check some source on the reboot options to narrow it down. Are you editing source or decompiling framework-res.apk?
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
klinkerkp said:
But if i change any line i have everytime the same error.
I decompile the esisting framework-res.
Tnx for the help realy
On the road with my Nexus S...
Click to expand...
Click to collapse
Pm sent!
Sent from my DarkICE Skanky CM9 Gnex using the app!

Anyway to add the "On/Off" switch in status notification bar of wifi?

Hi all~
I was using Allwinner A10 tablet before + custom rom and the ROM offer few handy things:
1) On the notification bar of wifi, I can immediately turn on or off the wifi instead of requiring to jump to SETTING
2) Want to add bluetooth notification bar as well
3) Long press power button can select reboot or screen capture as well
4) anyway I can add file association to .pdb => iSilo? By now ES explorer knows .pdb is ebooks but when I click it, it will said no program can open it...
Thanks a lot!
You mean like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For stock? You could use extended controls, Widgetsoid, or notification toggles. (Apps in tve play store) As for the file part I have no clue.
Sent From My Toro+ via White Tapatalk
Most of those are built into Cyanogenmod
You can add notification toggles to the stock ROM with widgetsoid; this video shows how to do it:
http://youtu.be/_GCiEqB5How?t=5m17s
so there is no way to add that button on the built in notification bar? must need a 3rd party widget? ('cause I changed to use tablet UI by altering the lcd.density so normal widget looks odd~ )
Thanks a lot!~

[Q] Statusbar LG-E400

Hey guys, I need some help.
I edited my SystemUI.apk to remove the music widget and the carrier text for more notification space, But I have a problem now.
In the carrier area there was my clear button, and now it's gone. I want it back but diffrent, Hope you guys can help me!
This is how it looks like now:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And this is how I want it:
Or can I make this button to clear the notifications?
Already Thanks!
DarrellDD
have a look at my SystemUI, it's themed similar to NatureUX's so it should answer your first question.
[EDIT]
Got it working now, and I know my problem.
Because I hide the old clear all button and not deleted it, It uses that one. By deleting it it uses the new one.
It works like a charm!
Thanks!
[EDIT]
I want that indeed, but I tried to copy it to my SystemUI.apk with no succes. The button appears, but has no functions. When clicking on it, the background changes but it doesn't clear the notifications. Also when I added the ids of the button apktool won't even build the apk because of errors. I have no idea how to implent it working. Hope you can help me.
Greeting,
DarrellDD
you don't have to add a new id. my example only move the button to notification header and add a custom image. the id (@id/clear_all_button) and all other elements remains the same.
I mean the drawable ids in the public.xml But I saw they automatticly added when building the apk. Thanks anyway! You really helped me editing my phone!
Sent from my LG-E400 using xda app-developers app

Categories

Resources