Android: How to make a Spinner invisible and then visible again? -



Android: How to make a Spinner invisible and then visible again? -

i have next spinner:

spinner spinner = (spinner)findviewbyid(r.id.sp1);

and create invisible this:

spinner.setvisibility(trim_memory_background);

this create spinner invisible how create visible again?

thanks in advance.

//hide

spinner.setvisibility(view.gone);

//show

spinner.setvisibility(view.visible);

android

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -