View-Manager Problem: editenabled

Watchkido1

Active Member
Licensed User
Longtime User
Hi

I have taken my 2.3 apps on 2.5 B4A
I have the activity.Modul and Class-Modul taken over 1:1 in my app.
9patch's inside
I get always the same error:

viewmgr_setninepatchdrawable (java line: 1860)
java.lang.NoSuchFieldException: editenabled

the original program runs without problems.
only they do not work together
 

Watchkido1

Active Member
Licensed User
Longtime User
Help! I can not find the problem with ViewMgr:editenabled

I just copy everything into a new project ....


EDIT: Problem Found: 9patch.zip must be inserted
 

Attachments

  • ViewMgr.zip
    16 KB · Views: 140
Last edited:
Upvote 0

Roger Garstang

Well-Known Member
Licensed User
Longtime User
Yes, any 9 Patch images used need placed in the \Objects\res\drawable folder of your project with Read Only attribute set (Zip itself not needed, just the PNG files). Usually you have to do a Clean Project from the Tools menu too for it to rescan that folder and pull them in for your app. I also have a full library called Line Layout too that you may like even better and has more capabilities.

http://www.b4x.com/forum/additional...ficial-updates/24105-library-line-layout.html
 
Upvote 0
Top