Hi
Ive read this;
http://www.b4x.com/forum/basic4andr...torials/14283-nine-patch-images-tutorial.html
The tutorial uses resources that are included in the application.
Im trying to implement a button with a built in Android resource ie btn_minus, btn_plus etc
Ive tried to do this;
bd = ph.GetResourceDrawable(17301511)
sld.AddState(sld.State_Disabled, bd)
But since the resource is a nine patch image it throws an error.
So how can I implement a button with a standard Android resource?
Thanks
Ive read this;
http://www.b4x.com/forum/basic4andr...torials/14283-nine-patch-images-tutorial.html
The tutorial uses resources that are included in the application.
Im trying to implement a button with a built in Android resource ie btn_minus, btn_plus etc
Ive tried to do this;
bd = ph.GetResourceDrawable(17301511)
sld.AddState(sld.State_Disabled, bd)
But since the resource is a nine patch image it throws an error.
So how can I implement a button with a standard Android resource?
Thanks