PopupWindow实现弹窗,可以任意自定义布局
用于实现弹窗,可以任意自定义布局,android中弹窗可以分为AlertDialog和popupWindow,AlertDialog只能显示固定在中间位置,popupWindow可以在任意位置,相对更加灵活。1.主布局设置<Button android:id="@+id/button_submit" android:layout_width="match_parent
原创
2016-09-18 22:59:53 ·
1716 阅读 ·
0 评论