标签:android style blog http color os io ar div
/** * 判断是否是平板 * @param context * @return */ public static boolean isTablet(Context context) { return (context.getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) >= Configuration.SCREENLAYOUT_SIZE_LARGE; }
[Android Tips] 13. How to Detect Tablet
标签:android style blog http color os io ar div
原文地址:http://www.cnblogs.com/shaobin0604/p/3956311.html