代码改变世界

随笔档案-2014年09月

[Android Tips] 13. How to Detect Tablet

2014-09-04 16:02 by shaobin0604, 203 阅读, 收藏,
摘要: /** * 判断是否是平板 * @param context * @return */public static boolean isTablet(Context context) { return (context.getResources().getConfiguration().... 阅读全文

[Android Tips] 12. How to Create a Dash Line Shape

2014-09-02 10:51 by shaobin0604, 336 阅读, 收藏,
摘要: 阅读全文