开发者

hide CheckBoxPreference on some condition

I have two CheckBoxPreferences in开发者_如何学编程 my Settings page and I want to hide one of them if a condition is satisfied. I see that there is no setVisibility method in CheckBoxPreference. Is there a way to accomplish this? Any help is appreciated.thanks.


Solved it by adding the CheckBoxPreference through the java code

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜