Class ImageViewUtils

  • All Implemented Interfaces:

    
    public class ImageViewUtils
    
                        

    处理 ImageView

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageViewUtils()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static void enableDrawableAutoMirror(ImageView imageView) 设置 ImageView 的 Drawable 自动翻转,适用于带有方向性的 Drawable
      • Methods inherited from class java.lang.Object

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

      • ImageViewUtils

        ImageViewUtils()
    • Method Detail

      • enableDrawableAutoMirror

         static void enableDrawableAutoMirror(ImageView imageView)

        设置 ImageView 的 Drawable 自动翻转,适用于带有方向性的 Drawable

        Parameters:
        imageView - ImageView