android弹框
ailinghao
移动端开发:iOS、Android、flutter
展开
-
Android中Dialog对话框使用总结及demo
一、Dialog我们首先来看看android官方文档对Dialog的介绍A dialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for...原创 2018-09-05 17:27:03 · 3205 阅读 · 0 评论 -
Android PopupWindow控件使用总结及demo
使用步骤:创建PopupWindow对象实例; 设置背景、注册事件监听器和添加动画; 显示PopupWindow。其中,第二步是可选的(不过基本上都要进行第二步的设置) // 用于PopupWindow的View View mTopPopupWindow = LayoutInflater.from(this).inflate(R.layout.home_ca...原创 2018-09-03 17:25:23 · 405 阅读 · 0 评论 -
Android中Spinner用法详解
java.lang.Objectandroid.view.View android.view.ViewGroup android.widget.AdapterView<T extends android.widget.Adapter> android.widget.AbsSp...原创 2018-09-14 11:26:33 · 18048 阅读 · 3 评论