Class AttrsUtils

  • All Implemented Interfaces:

    
    public class AttrsUtils
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      AttrsUtils()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static int getTypeValueColor(Context context, int attr) get attrs color
      static boolean getTypeValueBoolean(Context context, int attr) attrs status color or black
      static Drawable getTypeValueDrawable(Context context, int attr) attrs drawable
      • Methods inherited from class java.lang.Object

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

      • AttrsUtils

        AttrsUtils()
    • Method Detail

      • getTypeValueColor

         static int getTypeValueColor(Context context, int attr)

        get attrs color

      • getTypeValueBoolean

         static boolean getTypeValueBoolean(Context context, int attr)

        attrs status color or black

      • getTypeValueDrawable

         static Drawable getTypeValueDrawable(Context context, int attr)

        attrs drawable