会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
时间丶
博客园
首页
新随笔
联系
订阅
管理
2016年5月9日
判断是否为平板(根据屏幕尺寸判断) dp、px、sp相互转换工具类
摘要: /** * 判断是否为平板 * * @return */ private boolean isPad() { WindowManager wm = (WindowManager) getSystemService(Context.WINDOW_SERVICE); Display display = wm.getDefaultDisplay(); // 屏幕宽度 float sc...
阅读全文
posted @ 2016-05-09 08:28 时间丶
阅读(543)
评论(0)
推荐(0)
编辑
公告