摘要:
常用方法 1. setContentView(View contentView):设置 PopupWindow显示的View 2. showAsDropDown(View anchor):相对某个控件的位置(正左下方),无偏移 3. showAsDropDown(View anchor, int x 阅读全文
摘要:
AlertDialog.Builder builder = new AlertDialog.Builder(context); //构建Dialog的各种参数 Builder.setlcon(int iconld); //添加ICON Builder.setTitle(CharSequence ti 阅读全文
摘要:
常用属性 android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="#ffff00" app:navigationlcon="@drawable/ic_bas 阅读全文