Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dontshakepandas
Old
(Last edited by dontshakepandas; 25th August 2010 at 10:14 PM.) Reason: Fixed it
#1  
Senior Member - OP
Thanks Meter 5
Posts: 154
Join Date: Aug 2007
Default Music Player colors

Ok, so this hasn't really been a problem for me before since I couldn't use the samsung music player at all since it wouldn't sort by artist. However, now that I'm using JM6, it is letting me sort by artist. I really like the widget on the lock screen and on the pull down notification bar, so I'd like to use music player of Mixzing.

The problem is, on both of the widgets the background is an ugly purple color. Why would they do this? Ew. Is there any way to change the background color of these widgets? If I could do that, I would be as close to 100% happy with this phone that I've ever been.

Edit: Nevermind. I got it.
 
keredini
Old
#2  
Senior Member
Thanks Meter 9
Posts: 135
Join Date: Aug 2010
Location: STL
Care to share what you did? I didn't see anything in the settings. My ultimate goal would be to have the widget with a transparent background.

Sent from my SAMSUNG-SGH-I897 using XDA App
 
dontshakepandas
Old
(Last edited by dontshakepandas; 26th August 2010 at 02:26 AM.)
#3  
Senior Member - OP
Thanks Meter 5
Posts: 154
Join Date: Aug 2007
Quote:
Originally Posted by keredini View Post
Care to share what you did? I didn't see anything in the settings. My ultimate goal would be to have the widget with a transparent background.

Sent from my SAMSUNG-SGH-I897 using XDA App
You could do that. The files you need to change are located in the twframework and framework apk's. They are in system/framework, but I just used the twframework file from here. I don't remember the names of the files I changed (sorry). I just searched for music or background or bg in the drawable-hdpi folder of the apk's and when I found the ones I wanted to change, (really the only purple ones) I changed the color to something else. To make it transparent just replace the file (keep the same name) with a transparent .png file.

The twframework file can just be edited and then copied back over the original, but the framework apk caused a lot of force closes on me when I tried that. So I just edited the files inside the circle clock.zip file and then ran the .zip file and it applied the changes for me without any problems.

I also changed the ugly pink icon to something that looks like a real cd in the background with an orange music note on top. Looks a billion times better.

I apologize that I can't be more technical with you, if you have any questions about anything shoot me a pm or post it up here.
 
keredini
Old
#4  
Senior Member
Thanks Meter 9
Posts: 135
Join Date: Aug 2010
Location: STL
Quote:
Originally Posted by dontshakepandas View Post
You could do that. The files you need to change are located in the twframework and framework apk's. They are in system/framework, but I just used the twframework file from here. I don't remember the names of the files I changed (sorry). I just searched for music or background or bg in the drawable-hdpi folder of the apk's and when I found the ones I wanted to change, (really the only purple ones) I changed the color to something else. To make it transparent just replace the file (keep the same name) with a transparent .png file.

The twframework file can just be edited and then copied back over the original, but the framework apk caused a lot of force closes on me when I tried that. So I just edited the files inside the circle clock.zip file and then ran the .zip file and it applied the changes for me without any problems.

I also changed the ugly pink icon to something that looks like a real cd in the background with an orange music note on top. Looks a billion times better.

I apologize that I can't be more technical with you, if you have any questions about anything shoot me a pm or post it up here.
Strange, I couldn't get this to work...here are the steps i took:
  • Used adb push to get the twframework-res.apk file to my PC.
  • Used APK Manager to unzip the APK.
  • Modified the purple background file (quick_panel_music_bg.9.png) to be transparent.
  • Used APK Manager to zip the APK using the new PNG file. (I only Zipped the APK, I did not sign it since it was a system APK and did not Zipalign it)
  • Dropped the APK on the root of my sdcard.
  • Used Busybox to copy it over the existing APK.
  • Rebooted.

Any ideas why this wouldn't work? I tried twice, both times the background is still purple.
 
keredini
Old
#5  
Senior Member
Thanks Meter 9
Posts: 135
Join Date: Aug 2010
Location: STL
Hmmm, I went back and looked at the framework-res.apk and noticed i missed a file in there with purple background, so i edited that PNG file, then used APK Manager to zip and then ADB to copy over the original.

Now my phone will boot only to the Galaxy S boot screen, then just goes black. Looks like I will need to adb the backup files back onto the phone. Can you explain how you did this using an update.zip file. That seems like maybe an easier route.
 
dontshakepandas
Old
#6  
Senior Member - OP
Thanks Meter 5
Posts: 154
Join Date: Aug 2007
when changing the twframework file I used 7zip to open the archive without ever unzipping the file. I dragged the already edited png files into the correct directory to replace the purple ones.

For the update.zip I downloaded the .zip file for thecircle battery mod. I then put the updated png files that I wanted to replace using 7 zip again. I ran the update.zip file and everything worked.

If you are able to use metamorph (using older su version) you can download the simplistic theme, replace the res files with the ones from the stock apks then apply them in metamorph.
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more