Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
phoenix2217
Old
#1  
Senior Member - OP
Thanks Meter 115
Posts: 671
Join Date: Dec 2010
Location: 18518
Default [Q] Theming Issues/Framework

Hey Guys,

Im trying to add parts to a theme I'm using. I've themed quite a bit on my captivate and Infuse 4G. This has me stumped though.

Now, for the simple parts im using UOT. Specifically the notification drop down. I'm trying to theme the header, notification, footer etc. Everytime I try it dosen't work. None of the files are replaced. I can see a few of them looking through the framework-res and systemUI res folders. Some of them I can't. They seem to be in diferent places or renamed compared to the captivate systemUI and framework. I've tried three different times and no go.

Question is...Are the notifcation drop down images renamed or in different places on MOTO roms? Any hints for a MOTO nub trying to theme?

I appreciate any help. Thank you.
 
Kevin3328
Old
#2  
Kevin3328's Avatar
Senior Member
Thanks Meter 189
Posts: 794
Join Date: Sep 2011
Location: Connecticut

 
DONATE TO ME
What images are u talking about.. dropdown notifications are in system ui.. when u use the kitchen make sure u click amend script b4 finishing motor and blur r more dependencies than anything in a custom rom

Sent from my DROID X2 using XDA App
The Following User Says Thank You to Kevin3328 For This Useful Post: [ Click to Expand ]
 
IDMA.DROID.X2
Old
#3  
Senior Member
Thanks Meter 39
Posts: 562
Join Date: Jun 2011
If your talking about the status bar, you can't use UOT Kitchen to theme it, it will give you errors! Not sure why, just how it is

Sent from my DROID X2 using XDA App
The Following User Says Thank You to IDMA.DROID.X2 For This Useful Post: [ Click to Expand ]
 
Mr.Jibbens
Old
#4  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Oct 2011
My memory is horrible and and I haven't touched this in a few days but I can give the places to look and if you change them at all it should be pretty apparent which did what. Sorry, I don't have enough time right now to give a detailed answer.

SystemUI.apk > res > drawable-hdpi > statusbar_background.9.png
--- I believe this is the status bar at the top of the screen

SystemUI.apk > res > drawable-hdpi > title_bar_portrait.png
--- I believe this is the notification toggle background if you have them

SystemUI.apk > res > drawable-hdpi > (toggle buttons if you have them... right at the top of the folder)

SystemUI.apk > res > values > drawables.xml
--- shade_bgcolor is.... not sure :/ the notification header I believe (it was a nasty blue bar for me that says "no notifications" most of the time :P)
--- notification_header_text_color is the color of the text on that header
--- notification_number_text_color I'm not even sure if it's visible. I've never seen it and haven't changed it at all.

framework-res.apk > res > drawable-hdpi > status_bar_background.png
--- not completely sure if this changes anything but figured I'd throw it in
--- right after this is the status_bar_item_background_(focused/normal/pressed).9.pngs and they are the notification items that pop up, change color on press, etc.

The clear all button, I believe, is in SystemUI somewhere, pretty sure it's an xml.
The minus button that appears on the notification to clear is an image also in SystemUI I believe.

I think that's everything for the notification and status bar. Sorry again for the less informative answer. When I get home from work I'll try and check to see if you asked any more questions and I should have more time to explain the little I do know. Really hope this helped and good luck with the theme-ing! Looking forward to seeing new themes come for the X²!
The Following User Says Thank You to Mr.Jibbens For This Useful Post: [ Click to Expand ]
 
Kevin3328
Old
#5  
Kevin3328's Avatar
Senior Member
Thanks Meter 189
Posts: 794
Join Date: Sep 2011
Location: Connecticut

 
DONATE TO ME
Pretty much right on point... clear button is not an xml though.. except for text colors in these areas everything else is an image that can be edited

Sent from my DROID X2 using XDA App
 
mastafunk
Old
#6  
Senior Member
Thanks Meter 415
Posts: 264
Join Date: Aug 2011
Location: Undisclosed Swamp Location, FL
The images that UOT doesnt get (which btw works fine for most of the notification bar) are located in blur-res.apk and moto-res.apk.
The Following User Says Thank You to mastafunk For This Useful Post: [ Click to Expand ]
 
Mr.Jibbens
Old
#7  
Junior Member
Thanks Meter 1
Posts: 6
Join Date: Oct 2011
I vaguely remember UOT working for the status bar a while back when I tried, but since I've been on Molten it doesn't seem to work. Not sure if it's unique to Molten or maybe gingerbread or whatever; I also don't have the knowledge to know. All I know is that on my phone right now, UOT doesn't work for status bar and bootanimation. Lockscreen started working after I got Molten v2 it seems... my guess is it really depends on what ROM, if any, you're using. Please correct me if I'm wrong, I'm kind of curious to know.
 
mastafunk
Old
#8  
Senior Member
Thanks Meter 415
Posts: 264
Join Date: Aug 2011
Location: Undisclosed Swamp Location, FL
UOT will work regardless the ROM your running. The only thing UOT will work for on our phone is the status bar/battery/icons/fonts mods.

You need to feed UOT the SystemUI.apk and framework-res.apk from the rom you are running. Be sure to select Amend scripting in the options on UOT and you are good to go.

That being said there are a few graphics/colors from the status bar that are not in systemui or framework-res.. you can find these in moto-res and blur-res.
The Following 2 Users Say Thank You to mastafunk For This Useful Post: [ Click to Expand ]
 
IDMA.DROID.X2
Old
#9  
Senior Member
Thanks Meter 39
Posts: 562
Join Date: Jun 2011
Icons and battery work with UOT, just not status bar or boot animation. I haven't tried window transition so I'm not sure if that works.

Sent from my DROID X2 using XDA App
The Following User Says Thank You to IDMA.DROID.X2 For This Useful Post: [ Click to Expand ]
 
hedwig34
Old
(Last edited by hedwig34; 22nd November 2011 at 05:13 PM.)
#10  
hedwig34's Avatar
Senior Member
Thanks Meter 242
Posts: 393
Join Date: Sep 2011
Location: Pittsburgh

 
DONATE TO ME
If you are theming the stock 2.3.4 the background color where it says no notifications, on going, etc. is a hex color value in an XML file /drawable/shade_bgcolor.xml. (But in the Eclipse rom nitro changed it to point to an png image called title_bar_portrait.png.)
Galaxy S3 - My own BTS ROM
Galaxy Nexus - My own AOSP ROM JellyWig v3.1
Nexus 7 - My own AOSP ROM JellyWig v3.1
Motorola Droid - CM7 (where did I put that thing again?)

The Following User Says Thank You to hedwig34 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...