摘要: 1 public static boolean isTablet(Context context) {2 return (context.getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) >= Configuration.SCREENLAYOUT_SIZE_LARGE;3 } 1 public boolean isTabletDevice() { 2 TelephonyManager telephony = (TelephonyMan... 阅读全文