[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