Black pixels visible on the 9-patch images? - Android Themes

I've used the 9-patch application to draw the black pixels as I should and the result is 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"
}
Visible pixels? What do I do wrong?

Did u compile the image using eclipse ?
U gotta do that if i recall correctly. Also if ur on a windows machine and the image-background transparency is not an issue, may i suggest MsPaint (When editing a .9 png it keeps the data intact even after u save the file)

Daneshm90 said:
Did u compile the image using eclipse ?
U gotta do that if i recall correctly. Also if ur on a windows machine and the image-background transparency is not an issue, may i suggest MsPaint (When editing a .9 png it keeps the data intact even after u save the file)
Click to expand...
Click to collapse
Hm, the little guide I found here didnt say a single word about compiling something? I'll check it out.

Daneshm90 said:
Did u compile the image using eclipse ?
Click to expand...
Click to collapse
These files are compiled automatically when building an apk.
@Hund
Did you named these files like: some-file.9.png ?

Brut.all said:
These files are compiled automatically when building an apk.
@Hund
Did you named these files like: some-file.9.png ?
Click to expand...
Click to collapse
Im using the stock files as an template. I've installed Eclipse and I think I know how the get i right now. I'm booting up my Hero atm and hopefully I got it right.

Success! The button looks like it should.

Can you post the tutorial?
Sent from my Eris using XDA App

I dunno where I found it. But check out these posts here:
http://www.swedroid.se/forum/showpost.php?p=191880&postcount=10
http://www.swedroid.se/forum/showpost.php?p=191880&postcount=11
A picture says more than a thousand words.

Related

Clear Genie Widget for 1.5 (News and Weather)

I am trying to make a clear genie-widget from the ported 1.5 version. I unzipped the apk but can't find the background.
This is my first attempt at modifying a widget and I am obviously missing something here...can someone point me in the right direction?
thanks
EDIT: Got it done. Both files available below
{
"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"
}
If I had to guess, it would be widget_bg.9.png in the drawable folder?
I do agree that it looks like the most likely suspect. So it's expanded allowing for different resolutions?
*I'm away from my comp or I'd give it a go
Here you go, drop these 2 images into the correct folders, like in the zip. They work fine for me using metamorph
I tried the two files but they were not the correct png's. I figured out which image to modify (appwidget_bg.9.png in /res/drawable-mdpi), and then spent a few hours learning the ins/outs of .9.png images and the correct method of signing apk's.
So, after rigorous testing I present:
geniewidget_clear_1.5.apk (first post)
nice work!
tstack77 said:
I tried the two files but they were not the correct png's. I figured out which image to modify (appwidget_bg.9.png in /res/drawable-mdpi), and then spent a few hours learning the ins/outs of .9.png images and the correct method of signing apk's.
Click to expand...
Click to collapse
The files work fine on mine, but im running 2.1 so guessing there's the problem, i didnt read initially that you wanted it for the 1.5 version sorry. Glad you got it sorted.
djmace said:
The files work fine on mine, but im running 2.1 so guessing there's the problem, i didnt read initially that you wanted it for the 1.5 version sorry. Glad you got it sorted.
Click to expand...
Click to collapse
No worries. You actually helped in pointing me in the right direction to look in the drawable-mdpi folder. I wanted to make an apk anyway for this instead of using metamorph...of course I had no idea how much work was involved though with signing/.9.png/eclipse
just curious, but what clock and blutetooth etc.. widgets are those, would like to get them
jonny#1 said:
just curious, but what clock and blutetooth etc.. widgets are those, would like to get them
Click to expand...
Click to collapse
Clear HTC widgets HERE
Foundhttp://forum.xda-developers.com/showthread.php?t=588351 in the CDMA section so nandroid first.

[Q]bootanimation using particle illusion[solved]

hello all,
especially experts bootanimation creator.(i could needs ur help)
sorry for my english.
I tried to create a simple bootanimation using particle illusion software.
{
"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"
}
When already become a *.zip file and installed. it's always had problems with looping in the last frame and always bring a flash of white background at going back to first frame.
iam tried miliion times and had no results and so despert to figure it out.
plz tell me what i done wrongs.
nb : i deliberate attached simple bootanimation.zip just for example. plz install for whose dont get it what i meant.
dhaway_2200 said:
hello all,
especially experts bootanimation creator.(i could needs ur help)
sorry for my english.
I tried to create a simple bootanimation using software particle bootanimation illusion.
When already become a *.zip file and installed. it's always had problems with looping in the last frame and always bring a flash of white background at going back to first frame.
iam tried miliion times and had no results and so despert to figure it out.
plz tell me what i done wrongs.
nb : i deliberate attached simple bootanimation.zip just for example. plz install for whose dont get it what i meant.
Click to expand...
Click to collapse
get rid of Thumbs.db in folders /part0 and /part1
mendozinas said:
get rid of Thumbs.db in folders /part0 and /part1
Click to expand...
Click to collapse
Thanks for your response mendozinas, i already done that. If you check my attached zip file,you will notice that no Thumbs.db in folder/part0 and /part1.
Any other suggestions....?
Just downloaded it and there is still a thumbs.db in both folders. I will delete them and re up to you
Sent from my SGH-T959 using Tapatalk
Here you go, no more thumbs.db. There are instructions online on how to get rid of off of those on you computer.
zul8er said:
Here you go, no more thumbs.db. There are instructions online on how to get rid of off of those on you computer.
Click to expand...
Click to collapse
zul8er,you are rock ....mate
its run smoothly
many thanks for the detail explaination.
working another bootanimation now.
(mendozinas, iam so embarass...)

(cm7) Theme help(png file fixed)

Does anyone know why the check is on top on the text and not next to it
{
"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"
}
Didn't give us much to work with.
bkmo said:
Didn't give us much to work with.
Click to expand...
Click to collapse
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
dfuse06 said:
I am on cm7 flashed my theme and the check is on top of the text I changed the progress_horizontal via hex edit and the live wallpaper apk via apk manger I don't think any of that would messed with btn_check png they are .9 and they are the same size as stock
Click to expand...
Click to collapse
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Dont Panic said:
Changing progress_horizontal would not do that. Looks like a layout change somewhere in the theme you flashed. Someone with more experience may be able to tell you the exact .xml causing the problem. Posting the theme you flashed may help also.
Click to expand...
Click to collapse
I am making the the theme and it is not done yet, I have made this theme for 3 or 4 captivate rom and this is the first time i am doing it for cm7
Fix it my self here was the issue if anyone wants to know the png was a rgb. So I made it to a Index file and it fix it
Please let me know when this theme is done for test or release. It looks very nice for me. I like it black & white and I'm searching for it since I've CM7 installed. I hope you'll done it for the theme chooser, hum?
Greets,
Benny.

[BOOT ANIMATION] Ubuntu

A boot animation themed like the newer ubuntu ones.
If anyone has any suggestions for improvement let me know
EDIT: I just realized that i should probably post how to install this...
for CM7 and a couple other roms put it in /system/media/bootanimation.zip
and for the stock rom/sense based it goes at /system/customize/resource/bootanimation.zip
I've read that for sense based it may need to be called VZWbootanimation.zip or something along those lines just replace whatever is there.
permissions need to be set at rw-r--r-- or an upside down L on the left side in root explorer if you don't understand that.
{
"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"
}
so i cant just Flash it on Clockwork?
this is just the actual boot animation file that goes into the file system... you can just put it there with root explorer or the like.
doesn't get extracted by the way. you just need to rename the zip file
Pithism said:
so i cant just Flash it on Clockwork?
Click to expand...
Click to collapse
I would think not.
Sent from my ADR6400L using XDA App
thanks just making sure
hey just want to let you know that it works for me but i dont get the dots on the bottom of ANDROID like a loading look.
i get a Android logo u have used
Pithism said:
hey just want to let you know that it works for me but i dont get the dots on the bottom of ANDROID like a loading look.
i get a Android logo u have used
Click to expand...
Click to collapse
the android text or an actual android?
the txt, it looks similar to yours, but when its says the txt android its has a glaze about it and it goes back on forth.
if u cant tell im having a hard time describing it.
what rom are you running?
I'll mess with it and see if i can't duplicate your results. I tested it on CM7
das bamf 1.6.1 non themed. i put the file into the correct place, replaced it with the old bootaninmation, thats all i did
ahhhh i fixed it, thanks for your help
i have no idea why it happened, but i the boot.zip file didnt stick in the right section in system/media. it disaperared and i got stock boot aninimation
thanks for your help once again
awesome thanks for trying it out
yea i like it its nice for a change
Cool, something diff

[Lollipop] N9005 SecContacts_Phone_OSup recompiled don't work

hi guy
I have try to mod SecContacts_Phone_OSup.apk of Leaked stock Lollipop GBNL8 for N9005 but he don't work (haven't got icon phone and contact on grid app after flash)
I have decompiled the apk stock and recompiled without any mod but don't work too
I have tried with another Compression level
it not work
I use apktool 2.0.0RC3 (support Lollipop)
smali/baksmali 2.0.5
Same problem here!
Yep. Many of us have been aware of the issue practically since it came out. There are ways to change some things, but no way around the recompiling issue (yet).
Hi mate,
How you were able to change things inside apk?
I tried only with rar to change res files but FC at all.
masterross said:
Hi mate,
How you were able to change things inside apk?
I tried only with rar to change res files but FC at all.
Click to expand...
Click to collapse
Usally you use 7-zip . You right click on apk and select open within the 7-zip right click options (do not unzip) . Then drag your png etc..
I could tell you, but I'd have to kill you....
{
"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"
}
Bruno saa said:
hi guy
I have try to mod SecContacts_Phone_OSup.apk of Leaked stock Lollipop GBNL8 for N9005 but he don't work (haven't got icon phone and contact on grid app after flash)
I have decompiled the apk stock and recompiled without any mod but don't work too
I have tried with another Compression level
it not work
I use apktool 2.0.0RC3 (support Lollipop)
smali/baksmali 2.0.5
Click to expand...
Click to collapse
try the app here
http://forum.xda-developers.com/showpost.php?p=58139464&postcount=85
Ahem.....
carl1961 said:
try the app here
http://forum.xda-developers.com/showpost.php?p=58139464&postcount=85
Click to expand...
Click to collapse
Morningstar said:
Ahem.....
Click to expand...
Click to collapse
thank's guys

Categories

Resources