code: private static boolean isXLargeTablet(Context context) {
          return (context.getResources().getConfiguration().screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) >= Configuration.SCREENLAYOUT_SIZE_XLARGE;
      }
docs: Helper method to determine if the device has an extra-large screen. For example, 10" tablets are extra-large.