当使用Android PopupWindow VS对话 [英] When to use Android PopupWindow vs Dialog
本文介绍了当使用Android PopupWindow VS对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不清楚何时使用PopupWindow VS对话框。任何有识之士将是非常美联社preciated。谢谢。
I'm unclear about when to use PopupWindow vs Dialog. Any insight would be much appreciated. Thanks.
推荐答案
我想,你应该用对话的简单用户交互(是,否)。 我通常使用对话框进行简单的用户交互和WindowPopup的多一点点复杂的视图。 WindowPopup的一个实例是<一个href="http://developer.android.com/reference/android/widget/AutoCompleteTextView.html">AutoCompleteTextView.
I think, that you should use Dialog for simple user interaction (YES,NO). I usually use Dialog for simple user interaction and WindowPopup for a little bit more complex view. One example of WindowPopup is AutoCompleteTextView.
希望它帮助。
这篇关于当使用Android PopupWindow VS对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文