Android Question 9patch Image File Keep Deleted from res/drawable Folder

Richard Goh

Active Member
Licensed User
Longtime User
I was trying to create a new 9patch image file and place into the res/drawable folder.The png file I created keep deleted from the folder during compilation. But the label_bg.png 9patch file (which i copied from the example) didn't get deleted. I copied and changed the color from the "label_bg.png" file for the new png file. But I use a common image editor to change the color and edit it again using SDK 9patch tools. Any advice?
 

Attachments

  • label_bgb.png
    337 bytes · Views: 240

Richard Goh

Active Member
Licensed User
Longtime User
You have two options:
- Set the file to be readonly.
- If you are using B4A v3.20 you can use the new #AdditionalRes attribute to set another folder to act as the res folder. The compiler will delete the files there.
Hi Erel, I am just using ver3.00. where can i download the v3.2?
 
Upvote 0

Richard Goh

Active Member
Licensed User
Longtime User
Hi Erel. Thanks. it's works by changed the png file attribute to readonly.
I will try to contact them to get the latest version.Thank you.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…