Reputation: 6852
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
Reputation: 1554
yourView.setVisibility(View.GONE) or yourView.setVisibility(View.INVISIBLE)
Upvotes: 2