• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Mod/Extract specific components from a theme

6 posts in this topic

Posted

I'm running CM7 213 and kinda like the GingerBlur Trans theme the most, except for the music widget appearance. yes, the stock music widget. The XperiaArc theme has a very nice transparent music widget. My question is, how do i port just that one component over to the gingerblur theme?

0

Share this post


Link to post
Share on other sites

Posted

Decompile both themes, find the relevant images for the music players in the res/drawable-hdpi folders and replace them with the ones you want from the other theme, making sure they are named the same. Compile then sign.

Hopefully it should install OK, and you should be able to select your theme in theme manager.

Personally I use apk manager4.9 for modding: http://forum.xda-developers.com/showthread.php?t=695701, mainly because I like the graphical interface. But there are other methods available.

You can upload CM7 themes to the UOT kitchen: http://uot.dakra.lt/kitchen/ but I'm not sure if there is an option to theme the music player. Could be worth a look for you.

0

Share this post


Link to post
Share on other sites

Posted

I check the files, found files for most buttons, but can't figure out what's the background for the widget. As you probably already know, every theme seems to have differing non-standard file naming conventions.

Checking out apkmanager now. Is it generally for apks or is there some gui based wysiwyg editor for themes?

Thanks

0

Share this post


Link to post
Share on other sites

Posted

I check the files, found files for most buttons, but can't figure out what's the background for the widget. As you probably already know, every theme seems to have differing non-standard file naming conventions.

Checking out apkmanager now. Is it generally for apks or is there some gui based wysiwyg editor for themes?

Thanks

It's just for APK's in general. I didn't know what previous knowledge you may have, so was coving all bases with the recommendation :)

Yea, authors of themes seem to use whatever name they like for images. But if you look in res / xml / android.xml the images are defined to their item.

Example:

<item name="drawable/btn_default_small_selected">@drawable/frameworks_res_btn_default_small_selected</item>

I assume the item name stays the same, so you might be able to find all the right images through that.

(Maybe a search for music or player or something along them lines might point you in the right direction)

0

Share this post


Link to post
Share on other sites

Posted

The music player buttons appear to be in drawable-hdpi-finger but the source theme doesn't seem to have buttons for repeat and shuffle, so i can't just replace those.

Also, the drawable-land-hdpi-finger folder has a couple files called audio_player_background.xml which the target theme doesn't have so i guess i'll have to start digging around files like the res/xml/android.xml you pointed out.

Thanks again.

0

Share this post


Link to post
Share on other sites

Posted

Spent a few hours trying to move the music widget to the other theme, no luck. Just overwriting or even modding the existing pngs to be more transparent/lucent just messed up the widget alignment. Then tried copying over the music xml and every single png mentioned in it. that didn't work either. about given up. theming is too much for me!

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.