Class ViewUtils


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

      Constructors 
      Constructor Description
      ViewUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static float dpToPx​(float dp, android.content.Context context)  
      static int mixColors​(int color1, int color2)  
      • Methods inherited from class java.lang.Object

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

      • ViewUtils

        public ViewUtils()
    • Method Detail

      • dpToPx

        public static float dpToPx​(float dp,
                                   android.content.Context context)
      • mixColors

        public static int mixColors​(int color1,
                                    int color2)