• 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.
Sign in to follow this  
Followers 0

draw9patch how to use?!

5 posts in this topic

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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 :/

0

Share this post


Link to post
Share on other sites

Posted

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

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
Sign in to follow this  
Followers 0

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