- 博客(3)
- 收藏
- 关注
原创 popup window不能自动关闭的问题
<br />PopupWindow 似乎有个bug, 但设置popupWindow.setOutsideTouchable(true);时点击popup window之外的区域并不能关掉popup window. <br /> <br />通过研究其源码发现只有设置了popupwindow的background drawable才会加入PopupViewContainer,而自动dismiss是在PopupViewContainer的ontouchevent 实现的,所以如果需要自动关闭popup wind
2010-11-02 07:22:00
1114
原创 去除activity title bar
<br />在activity的manifest.xml上定义android:theme="@android:style/Theme.NoTitleBar"
2010-09-02 04:57:00
146
原创 检查intent是否存在代码
private boolean isIntentExist() { PackageManager pm = getPackageManager(); Intent mainIntent = new Intent(MAITAI_ACTION, null); mainIntent.addCategory(MAITAI_CATEGORY); List list = pm.queryInten
2010-09-02 04:54:00
257
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人