自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 关于PopupWindow的显示(1)—— showAsDropDown方法

在开发PopupWindow相关功能时,我们主要处理PopupWindow两方面的工作:1.PopupWindow的UI展示;2.PopupWindow的显示方式,弹出位置。这篇blog主要讲PopupWindow弹出位置。PopupWindow弹出方式有2种:1.showAsDropDown ; 2.showAtLocation() 两个方法的不同主要体现在,弹出时的坐标系,换句话说就是参照物不同。本文主要对showAsDropDown()展开说明。为了精确(准确无误)的表现出PopupWindo

2020-08-12 15:48:10 3976

原创 PopupWindow的setClippingEnabled(boolean)用法详述

setClippingEnable方法源码中的注释如下:Allows the popup window to extend beyond the bounds of the screen. By default the window is clipped to the screen boundaries. Setting this to false will allow windows to be accurately positioned.直接翻译:这个方法是设置是否允许popupwindow超出

2020-08-12 07:44:27 2431

原创 Widget工作原理浅述

长按Launcher,Launcher会发出Intent调起AppWidgetPickActivity.这个activity就是我们看到的

2014-06-11 17:51:31 859

原创 android AIDL 总结

AIDL用途:进程间通信。总结:1。实现分serverduan

2014-06-10 23:51:47 604

原创 自定义通讯录详情页面的内容并跳转

通讯录中每一项内容,都是由数据库管理的。contacts的数据库功能之强大,

2014-06-05 12:18:22 1186

原创 java.lang.SecurityException: caller uid 10039 is different than the authenticator's uid

目前在做一个项目,就是要求登录我们的应用后

2014-06-05 11:51:09 3786 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除