版本相关
文章平均质量分 78
czcdms
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
@TargetApi and @SuppressLint
@TargetApi and @SuppressLint have the same core effect: they suppress the Lint error.The difference is that with @TargetApi, you declare, via the parameter, what API level you have addressed i转载 2015-05-08 17:15:44 · 458 阅读 · 0 评论 -
android各版本号的定义和比较方法
f这是sdk版本判断的代码:if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { ActionBar ab = getActivity().getActionBar();ab.setTitle("请选择"); } else { getActivity().setTitle("请选择");}原创 2015-05-08 16:48:59 · 828 阅读 · 0 评论
分享