
android应用开发
文章平均质量分 80
kjjia110
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android custom notification bar
最近项目中要用到notification,但要想实现功能需要自定义一个layout布局,然后存进 RemoteViews视图,同步显示在statue bar。 http://developer.android.com/guide/topics/ui/notifiers/notifications.html 以上API中,详细的描述了status bar notifica原创 2011-11-30 19:36:05 · 900 阅读 · 0 评论 -
custom preference item 点击后高度扩充问题的解决方法
上文中提到custom preference 的实现,基本没什么问题,但在项目开发中,当点击preferenceitem的时候,当前的item的高度总会自动扩充,这样造成的后果开始不觉得什么,但当功能实现得已经趋紧完美的时候,就会-降低用户的体验效果,招致反感。 首先:想到的是RelativeLayout 布局的问题,但经过验证,使用linerlayout也同样会出现这个现象,so原创 2011-12-20 16:25:39 · 654 阅读 · 0 评论 -
custom preference 的实现。
最近项目升级中,默认的prefedrence布局不能满足项目需求,于是必须自定义preference了,但遇到了些许问题,在此记录下来,希望大家共同进步。1step1:新建一个layout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_原创 2011-12-15 20:53:49 · 1637 阅读 · 0 评论