Jump to content

draw9patch how to use?!


Guest davidevinavil

Recommended Posts

Guest davidevinavil

Hi all, i'm trying to edit Settings.apk to get power widget with transparent background..

Image of background is/res/drawable-hdpi-v4/appwidget_bg.9.png

I've opened it with gimp and set alpha level to get transparency, then I've opened appwidget_bg.9.png with draw9patch whitout result..

Someone know how to use it?

The result is this first and after applying patch is the same :/

I've tried a lot with different settings into draw9patch

post-724294-1306317360_thumb.png

Edited by davidevinavil
Link to comment
Share on other sites

Guest CedricGatay

You have to add black pixel bar on the edge of your picture to use it, check the android developer documentation in order to do so.

If you want good customizable power widget, have a look at Widgetsoid :P

Link to comment
Share on other sites

Guest davidevinavil

I've already tried it..

Now I've do this

From original pict I've cut border background whit gimp, edit it and save without border..

All whitout using draw9patch :/

This is original pic

post-724294-1306319020_thumb.png

and this pic edited by gimp

post-724294-1306319026_thumb.png

and this is the result

post-724294-1306319118_thumb.png

Link to comment
Share on other sites

Guest davidevinavil
You have to add black pixel bar on the edge of your picture to use it, check the android developer documentation in order to do so.

If you want good customizable power widget, have a look at Widgetsoid :P

Do you know wich image is to edit and where is located to get transparency notification bar with android UI?

In acer UI had to edit status_bar_tracking.xml into BubbleNotification.apk, but it don't work for android UI :/

Link to comment
Share on other sites

Guest CedricGatay
Do you know wich image is to edit and where is located to get transparency notification bar with android UI?

In acer UI had to edit status_bar_tracking.xml into BubbleNotification.apk, but it don't work for android UI :/

Sorry I have no clue about that

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.