[Library Demo] ShapedImageView

[Library Demo] ShapedImageView

営業所 1.0
Android Library Democustom Shape ImageViewペイントシェイプとsvgs.https://github.com/mostafagazar/customshapeiを使用したporterduffxfermodeを使用
1.0

スクリーンショット

説明

Androidライブラリデモ

ペイント形とSVGを使用したPorterDuffxFermodeを使用したカスタムシェイプイメージビュー

https://github.com/mostafagazar/customshapeimageview

使用法:

Android:layout_width = "64dp"

Android:layout_height = "64dp"

Android:src = "@drawable/sample"

アプリ:shape = "circle"

Android:scaletype = "centercrop" />

Android:layout_width = "64dp"

Android:layout_height = "64dp"

Android:src = "@drawable/sample"

Android:scaletype = "centercrop" />

Android:layout_width = "64dp"

Android:layout_height = "64dp"

Android:src = "@drawable/sample"

Android:scaletype = "centercrop" />

Android:layout_width = "64dp"

Android:layout_height = "64dp"

Android:src = "@drawable/sample"

アプリ:svg_raw_resource = "@raw/shape_star"

Android:scaletype = "centercrop" />

使用されるライブラリ:

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

展開

その他の情報

  • 公開日時

    2024/12/24

  • サイズ

    225.61KB

  • カテゴリ

    営業所
  • パッケージ名

    com.meg7.samples