开发者

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

开发者 https://www.devze.com 2023-01-29 16:04 出处:网络
I have a view for ads in my application . 开发者_JAVA百科 if my application has no ads to show then the Viewmust not be visible
  I have a view for ads in my application .
开发者_JAVA百科

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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消