java - How to hide and unhide box from checkbox -


i'm student of android developer. need make project , i've ran problem. problem need make box of checkbox disappear , after pushing specific button, box appear , clickable. searches i've found when write:

mycheckbox.setbuttondrawable(new colordrawable(color.transparent)); 

it disappear , it's couldn't find way make appear after that.. lot. :)

you can achieve making view disappear either using

mycheckbox.setvisibility(view.gone);              (or) mycheckbox.setvisibility(view.invisible); 

and again can make appear

mycheckbox.setvisibility(view.visible); 

hope helpful:)


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -