[REQUEST] Possible to modify the Stock/Genie News&Weather widget? - Motorola Atrix 2

For the stock News + Weather widget included, currently it only shows the partial, truncated article title even though there's *plenty* of extra space right below the headline text that is never used for anything. It's pretty much the entire lower half of the widget in fact, that stays empty/blank all the time and which doesn't seem to make any sense.
Is it easy enough to modify this so that more/all of the article title is shown, at least so that it fills up the available space on the widget?

I never tried this, but, you can decompile the apk, make your changes, and then compile it again.

brianmoyano said:
I never tried this, but, you can decompile the apk, make your changes, and then compile it again.
Click to expand...
Click to collapse
Well yes, that's certainly the methodology involved in modifying any program or component; however I don't know enough about Android applications to easily make the relevant changes, so I was hoping someone else with the requisite knowledge might take a shot.

Related

[REQ] Modified OverclockWidget

Well after trying without success, I was wondering if anyone here could modify the overclock widget? It is seriously one UGLY motherf**ker. I tried replacing the icon.png but because its a widget it does some weird resizing if ya dont use a 64x64 png. And that is just too blurry and junky looking to have on my homescreen. Was wondering if someone could tear into this thing and rebuild it with something crisp, clear and colorful. Much obliged.
Modifying and distributing a file requires permission from the original creator. If someone just hauled off and started distributing a modified version of the .apk it would be illegal...even though it is a free file...lolol
~Jasecloud4
ahhh.. yeah, i guess that would make sense. Well, if anyone could give me some pointers on how to modify how the apk resizes the widget, that would be helpful. Or point me in the right direction. Then I could just modify my version for my own personal use, as I was trying to before. Thanks

[REQ] Modify Application - Last Call Widget

I would like to use this Widget again but simply cant stand for any background to it, as it doesn't then fit the rest of my simple no background widgets. I tried pulling the apk apart myself and editing the PNG files to be transparent but then I could not get the apk to install nor did pushing it to my device work at all.
If someone can tell me how to modify the apk or modify it for me, I'd be very appreciative.
I emailed the Dev of this and have not gotten a response about adding a transparent background option so that is why I am here now asking for help. Thanks.
http://www.appbrain.com/app/com.zedray.calllog
So you can see what Last Call looks like I have attached a screen, I believe it is an issue with editing the .9 file. I can't figure out how to do it correctly, ugh..
No one eh? Does anyone think it's just a matter of figuring out how to edit these .9 files and I should be ok no need to resign the package? I Wish the dev would help out here, I'd gladly throw em ten spot for just changing the image background.
I've added a transparent style to the Widget (was a little bit more complicated to implement in practice than it sounds).
For future reference, nine-patch files are altered by the Android build system during compilation making it more difficult for a third party to make the changes described. Hope it suits your home screen.

Possible theme that improves upon stock HTC Sense

I just recently moved from iOS to Android, and I like it so far but it looks kind of... cheap. I'm talking about HTC Sense specifically, stock/AOSP Android is well design but albeit dull to some (although I don't agree, I prefer the minimalistic design). Some of it is okay while other parts don't make a whole lot of sense or just look plain amateur. Most of all, I think it's way over exaggerated. I hate looking at the browser bar and seeing a heavily glossed bevel with a near near flat text input and a inset button. Why would a button be even inset?
Anyway, I like some of Sense's additional features, and since Cyanogen isn't stable yet, I'd like to re-design Sense to be more subtle and just better designed. I'm a well established UI/UX designer but always have a lot of work on hand. So if someone who is knowledgeable with the graphic files that make up Sense (preferably in the new Froyo build) and is willing to identify and send the files (preferably in a zip of organized folders so I could just re-design and leave as is which could then be easily turned into a usable update file by someone), I'd get started ASAP.
The EVO is fine as is, but improving the appearance of Sense would go a long way in calming my OCD mind Attached is a quick example of how it would look like. It's the "to" contact bar in the HTC messaging app - the top is default, the bottom is my redesigned version.
My main beefs with the default graphic are:
a. It's too glossy making the outset depth of the bar appear high, problem is that a flat element (the text input box) is laid on top of it thus making it look weird and unnatural. Plus it makes it look like cheap plastic.
b. The button is inset. Why? Have you ever seen a inset button? Maybe once or twice. Looks more like a active selection than a button. the lighting is also off and just plain looks terrible.
c. The corners are rounded, but why? It looks out of place and loses fluidity with the rest of the layout. One thing I noticed is that HTC likes to throw in rounded corners in just about everything they can.
Like I said, this will be a very subtle theme but I think it will help make the stock Sense theme better. So if anyone wants to help identifying the files or knows a known resource (which I doubt since Froyo must have changed things a bit), just PM me.
I second this request. I wish I could help.
I totally agree with you in that the Sense theme needs to be more subtle.
I have always wondered why it has taken so long for someone to come up with this theme.
that would be nice
I like the idea!
Heres what I have so far.
In framework-res, I have included everything I think you will need. You'll have to let me know how much theming you intend to do. ie buttoms/selections (everything with a stock gloss?) or not.
I will continue to dig up more of what you need once I hear how deep you're looking to go. I included the taskbar icons because those will need to be changed to fit whatever the taskbar changes too so they will match. Obviously I have yet to include the signal ones along with 4g, as well as the individual app status bar notifications.
I'll wait to hear back before I progress much further.
Again, very nice looking.
Edit: Updated my post to add more.
I want to fix as much as possible. Anything you send, I'll theme. I'll commit to that.
But at the least, I want to redesign buttons and major UI elements like the example I showed. I definitely would like to redesign selections -- I'm not sure why they are "crystal-like", I much prefer a AOSP-like selection but of course in green for Sense.
I'll look through these and see what I'll do with them.
Award Tour said:
I want to fix as much as possible. Anything you send, I'll theme. I'll commit to that.
But at the least, I want to redesign buttons and major UI elements like the example I showed. I definitely would like to redesign selections -- I'm not sure why they are "crystal-like", I much prefer a AOSP-like selection but of course in green for Sense.
I'll look through these and see what I'll do with them.
Click to expand...
Click to collapse
Ok, don't know if I edited my post before or after this, but I added more to the framework-res folder with an updated zip. It now includes everything from there you should/could need from that particular file. See what you can do with those. I'm not 100% sure if any of the files used in froyo have changed (what gets used in those folders and what doesn't) so bare with me. But for the most part it shouldn't be that difficult to dig up the rest of the important stuff.
I just pulled it now so it should be the latest files.
I just pushed that sense folder to my work server, once something is in there, they get done. I'll update the folder as I get more items.
barnacles10 said:
Ok, don't know if I edited my post before or after this, but I added more to the framework-res folder with an updated zip. It now includes everything from there you should/could need from that particular file. See what you can do with those. I'm not 100% sure if any of the files used in froyo have changed (what gets used in those folders and what doesn't) so bare with me. But for the most part it shouldn't be that difficult to dig up the rest of the important stuff.
Click to expand...
Click to collapse
Alright so this is what I'll do. I'll theme these current files and when I'm done I'll post some previews and then you or someone else who is willing can send a new batch of files. That way it can be done in waves and can be easily managed.
So I'll finish these and post back soon.
Award Tour said:
Alright so this is what I'll do. I'll theme these current files and when I'm done I'll post some previews and then you or someone else who is willing can send a new batch of files. That way it can be done in waves and can be easily managed.
So I'll finish these and post back soon.
Click to expand...
Click to collapse
Ok, well this has totally got me pumped, so I went through and did more for you. I've included the other files out of ease, so what I have done is labeled all the folders which have new files (new from that one posted above) and added "contains new" at the end. Then within each folder i have created "new" folders for what I have added. That way you don't have to go through and figure out what you have done and whats been added.
This should keep you busy as I'm done for the night. This is a lot of the major stuff though. I will report back with anything else I find later on.
Award Tour, just curious, do you have experience with .9.png's?
Barnacles, I noticed you pulled stuff out of framework-res, did you toss him the stuff from com.htc.resouces.apk too?
nebenezer said:
OP, just curious, do you have experience with .9.png's?
Barnacles, I noticed you pulled stuff out of framework-res, did you toss him the stuff from com.htc.resouces.apk too?
Click to expand...
Click to collapse
Yeah the second file I posted here has pretty much everything he needs to start. Most everything from resources, and framework as well as other stock apps
nebenezer said:
Award Tour, just curious, do you have experience with .9.png's?
Click to expand...
Click to collapse
Not yet, but I understand them now I think. I noticed immediately that some of the files had to scale somehow and from your post just noticed that those files are the .9 files you speak of. I'll look into it but I'm just gonna assume that they have some sort of meta info in them for now. I'll work on those last so I can read up on the file format.
barnacles10 said:
Yeah the second file I posted here has pretty much everything he needs to start. Most everything from resources, and framework as well as other stock apps
Click to expand...
Click to collapse
Awesome, sorry to interrupt, just wanted to make sure
Award Tour said:
Not yet, but I understand them now I think. I noticed immediately that some of the files had to scale somehow and from your post just noticed that those files are the .9 files you speak of. I'll look into it but I'm just gonna assume that they have some sort of meta info in them for now. I'll work on those last so I can read up on the file format.
Click to expand...
Click to collapse
Yeah they have invisible guides that tell the OS where to stretch the image to suit whatever purpose it needs.
When you open, edit and re-save them the guides disappear so you'll have to redraw them. You will find plenty of info on .9's.
The search bar you did looks much better than Google's version, I'm sure this will end up being a pretty sweet theme
This is no small undertaking or I would jump in on it and help out.
There are tons of people here who are more talented and experienced than I but if you have any questions you're welcome to pm me.
Hey guys. I am up for the night and addicted to flashing **** so let me know if you need a beta tester.
Once you finish what's there feel free to send them back to me and I can throw em back where they need to go and make a morph for the changes to test them out.
ok so are those .zips flashable? any screens of what you have done? it looks nice on the first picture
magicalan said:
ok so are those .zips flashable? any screens of what you have done? it looks nice on the first picture
Click to expand...
Click to collapse
I only spent like 20 minutes on it today during work but I should do a hour or so more later tonite.
I finished some of the status bar but I was disappointed to see that the background image for a notification item was missing. I still designed it but if anyone knows how I can throw it in sense (maybe a simple file with the right name? maybe check a AOSP build because it should be in there) let me know.
Here it is for those that are interested, I will probably refine it further but this is what I got so far:
The aim, if you haven't already noticed, is to combine stock AOSP Android with a Sense-like look.
Award Tour said:
I only spent like 20 minutes on it today during work but I should do a hour or so more later tonite.
I finished some of the status bar but I was disappointed to see that the background image for a notification item was missing. I still designed it but if anyone knows how I can throw it in sense (maybe a simple file with the right name? maybe check a AOSP build because it should be in there) let me know.
Here it is for those that are interested, I will probably refine it further but this is what I got so far:
The aim, if you haven't already noticed, is to combine stock AOSP Android with a Sense-like look.
Click to expand...
Click to collapse
Looks good! Ill look for the notification bg image for ya when I get home tonight.
Sent from my PC36100 using XDA App
magicalan said:
ok so are those .zips flashable? any screens of what you have done? it looks nice on the first picture
Click to expand...
Click to collapse
They are not flashable. Sorry for double posting but can't multiquote. They are simply folders. Had to zip them up to attach them is all
Sent from my PC36100 using XDA App
Try to send me a new batch as well, I *think* I'll be done with this in a hour. If you can, send me the froyo ones.

[Q] [IDEA] Porting HDPI themes to MDPI

Just recently been into themes and knew how they work.
If I use some kind of batch image resizer to resize hdpi png's to mdpi, and put those resized in drawable-mdpi it would work.
Am I correct? I see no reason why it can't be as easy as that.
I resize them with GIMP. Don't know what you use but in theory have to work
well, i don't know any coding language.
Maybe someone could make a script to resize images??
it would be a pain in the a** to resize them one by one
There are many batch resize windows apps that will let you convert a complete folder full more at once..
just google it
Sent on the run from my Magic 32A
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Binary100100 said:
It will not work on many .9.PNG files unless you resize them from source. Sorry but I've tried it with my theme. .9.png files are not just normal png files. They are made to stretch and readjust depending on the orientation of your device (landscape versus portrait) and may have what is called 'guides' coded within the images to tell the OS how to display that graphic. If you were to edit that file in any way those guides are over written and it messes up your whole theme. So if you were to use a batch resizer you would probably experience a disgusting looking interface coupled with acore crashes. Unless of course you used the files from source and just created the app from the source code. But who knows you might get lucky and whatever app that you are trying to theme may not use those pesky .9.png files.
Click to expand...
Click to collapse
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
MicroMina said:
Thank you for this Binary100100..
In a regular theme, about how many pngs are .9?
and what do you mean "created from source"?
Click to expand...
Click to collapse
.9.png with guides? I have no clue. For an entire rom... I would say over a hundred easily. There are about a dozen of them just in the Dialer app itself. If you modify any one of them the whole thing get's messed up. It's very delicate. What do I mean create it from source? Download the source code from HTC website on a Linux machine and create the ENTIRE rom from scratch. It's not that hard actually once it's all set up. Before you do the "make" command you would do your xml edits, resizing, color edits, etc. You can tell what a .9.png file is because it has a line on the right of the image and a line on the bottom beneath it. It will have a black pixel at the top and one on the left. So you edit those files the way that you want it and then create the app or the entire rom. If you chose to create the entire rom then remove the parts from the rom that you don't want in your theme and then make an update-script file for your flashable theme. Nobody said that making a theme is fun or easy and in many cases the developers of the theme (like myself) do it just because they did it for their own device and chose to share their work. On average if you want to create an entire theme it will take you at least 30+ hours of work if you are already set up and knowledgable with Linux and image editing. That's how long it took me anyway.
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
MicroMina said:
Thank you for this very informative post.
I guess its not that easy after all. Maybe one day I could try it.
Thanks again.
Click to expand...
Click to collapse
Oh it's plenty easy, it's just very time consuming to make a theme from scratch and since you can't take a 3kb file measuring 20 x 20 and turn it into 36 x 36 and turn it into a 5.4 kb file without losing resolution (thus defeating the purpose of being on a AMOLED HD display) even if you were to suceed it probably still won't look very good. Think of it like this. Take a standard 800 x 600 video for your non-high definition television. Sure it looks alright but what about if you displayed it on a 1080p television. Is the picture going to look any better? Not really because it's the quality of the video and not the television itself. Now, if you could enhance the video... it would make a huge improvement. But by simply resizing the images wouldn't really do anything for a HD screen (my theory anyway).
But if you build everything from the source code (that is such as Cyanogen's github) and edit all the images from scratch then you shouldn't have a problem. But it is VERY time consuming like I mentioned before. I loathe the idea of upgrading my phone now because that means that my current theme along with all of the work that I've done with it... will be obsolete until I can do it all over again from source. Ugh.

[Q] Font colour location

Being new to android, I am slowly finding out how to customise the look and feel to suit me.
One thing I can't figure out is how to change the font colour in the attached photo, I'm not sure what this bit is called. But light blue is a terrible colour and I would like to change it to white or black if possible.
Can anyone tell me where this might be done? The OS is 4.2.2.
Hard
I am guessing by the huge amounts of replies, that changing the colour of this item is incredibly difficult and beyond the capabilities of most of the people on this forum.
anyone?
I must be in the wrong forum.
Well you could have saved some time and looked at it yourself. It is set in the system ui apk and defined in framework res. Depending on your device. See that's the thing it really depends on the rom and device. It is different for each. Not to mention there are plenty of tuts that would have told you the same thing.
thanks
Thanks, you couldn't point out one of these tuts could you? If I knew what the thing I want to change is called too, that would be helpful.
found it
It's called statusbar, and now I know it's name I can search for info on it.
Google returns a lot of results for 'thingy' or 'wotsit' but rarely the results you are looking for.
Conclusion
The thingy in the original post is called the status bar.
It is defined in /system/app/SystemUI.apk
Editing it requires a piece of software called apktool.
I now have white text instead of pale blue.
Thanks to zelendel for the clue.
All is now good.
As a slight aside, I found both a status_bar.xml and a gemini_status_bar.xml in SystemUI.apk and my phone appears to be using the gemini one. What practical use this is I don't know. The phone is a U51GT-C4B if anyone cares, it's as big as will fit in your jacket pocket without requiring the services of a tailor and makes using rdesktop so much easier.
It doesn't make your fingers any less fat, but it makes typing easier because the letters are further apart.

Categories

Resources