摘要:
ListView 新建一个ListView <ListView android:id="@+id/lv_1" android:layout_width="match_parent" android:layout_height="wrap_content"/> 在ListViewActivity声明并 阅读全文
posted @ 2021-08-20 19:27
憨憨的小熊饼干
阅读(75)
评论(0)
推荐(0)
摘要:
常用方法 setConteneView(View contentView):设置PopupWindow显示的View showAsDropDown(View anchor):相对于某个控件的位置(正左下方),无偏移 showAsDropDown(View anchor,int xoff, int y 阅读全文
posted @ 2021-08-20 19:26
憨憨的小熊饼干
阅读(137)
评论(0)
推荐(0)
摘要:
实现方式 AlertDialog.Builder builder = new AlertDialog.Builder(context);构建Dialog的各种参数 Builder.setlcon(int iconld);添加ICON Builder.setText(CharSrqrnce title 阅读全文
posted @ 2021-08-20 19:22
憨憨的小熊饼干
阅读(96)
评论(0)
推荐(0)
摘要:
常见属性详解 android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="#ffff00" app:navigationlcon="@drawable/ic_b 阅读全文
posted @ 2021-08-20 19:21
憨憨的小熊饼干
阅读(112)
评论(0)
推荐(0)
摘要:
Notificaton与NotificationManager 创建一个NotificationMannager NotificationManager类是一个通知管理器,这个对象是由系统维护的服务,是以单例模式的方式获得,所以一般不直接实例化这个对象。在Activity中,可以使用Activity 阅读全文
posted @ 2021-08-20 19:19
憨憨的小熊饼干
阅读(197)
评论(0)
推荐(0)

浙公网安备 33010602011771号