Class LayoutUtil


  • public class LayoutUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      LayoutUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getSpecMode​(int specMode)  
      static boolean isLargeScreen​(android.content.Context context)
      Inspects the current screen to determine if the host device screen is large.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LayoutUtil

        public LayoutUtil()
    • Method Detail

      • getSpecMode

        public static java.lang.String getSpecMode​(int specMode)
      • isLargeScreen

        public static boolean isLargeScreen​(android.content.Context context)
        Inspects the current screen to determine if the host device screen is large.
        Parameters:
        context - the context on the view or application.
        Returns:
        true if the screen is large otherwise false.