Dev.Sinto
Dev.Sinto

Reputation: 6852

View does not Visible if it has nothing to show how?

  I have a view for ads in my application .

if my application has no ads to show then the View must not be visible (no blank space). how can i do that ??????????

Thanks in advance for your valuable time time

Regards, Kariyachan.

Upvotes: 0

Views: 155

Answers (1)

user479211
user479211

Reputation: 1554

yourView.setVisibility(View.GONE) or yourView.setVisibility(View.INVISIBLE)

Upvotes: 2

Related Questions