[Library Demo] ShapedImageView

[Library Demo] ShapedImageView

商务办公 1.0
Android库DemoCustom形状imageView使用PorterDuffXfermode带有油漆形状和SVGS.https://github.com/mostafagazar/customshapei
1.0

截图

阐明

Android图书馆演示

使用带有油漆形状和SVGS的PorterDuffXfermode自定义形状imageView

https://github.com/mostafagazar/customshapeimageview

用法:

android:layout_width =“ 64dp”

Android:layout_height =“ 64dp”

Android:src =“@dr​​awable/示例”

应用:Shape =“ Circle”

Android:scaletype =“ CenterCrop” />

android:layout_width =“ 64dp”

Android:layout_height =“ 64dp”

Android:src =“@dr​​awable/示例”

Android:scaletype =“ CenterCrop” />

android:layout_width =“ 64dp”

Android:layout_height =“ 64dp”

Android:src =“@dr​​awable/示例”

Android:scaletype =“ CenterCrop” />

android:layout_width =“ 64dp”

Android:layout_height =“ 64dp”

Android:src =“@dr​​awable/示例”

应用:svg_raw_resource =“@raw/shape_star”

Android:scaletype =“ CenterCrop” />

使用的库:

https://github.com/latemic/svg-android

展开

其他资讯

  • 发布时间

    2024/12/24

  • 大小

    225.61KB

  • 类别

    商务办公
  • 包名

    com.meg7.samples