[Library Demo] ShapedImageView

[Library Demo] ShapedImageView

Bureau des affaires 1.0
Android Library DemoCustom Shape ImageView en utilisant PorterDuffxferMode avec des formes de peinture et svgs.https: //github.com/ostafagazar/customshapei
1.0

Captures d'écran

Description

Démo de la bibliothèque Android

ImageView de forme personnalisée à l'aide de PorterDuffxFerMode avec des formes de peinture et des SVG

.

https://github.com/ostafagazar/customshapeimageView

.

Usage:

Android: Layout_Width = "64DP"

Android: Layout_Height = "64DP"

Android: src = "@ drawable / échantillon"

App: Shape = "Circle"

Android: scaletype = "CenterCrop" />

Android: Layout_Width = "64DP"

Android: Layout_Height = "64DP"

Android: src = "@ drawable / échantillon"

Android: scaletype = "CenterCrop" />

Android: Layout_Width = "64DP"

Android: Layout_Height = "64DP"

Android: src = "@ drawable / échantillon"

Android: scaletype = "CenterCrop" />

Android: Layout_Width = "64DP"

Android: Layout_Height = "64DP"

Android: src = "@ drawable / échantillon"

App: svg_raw_resource = "@ brut / shape_star"

Android: scaletype = "CenterCrop" />

.

Bibliothèques utilisées:

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

Développer

Autres informations

  • Date de publication

    2024/12/24

  • Taille

    225.61KB

  • Catégorie

    Bureau des affaires
  • Nom du package

    com.meg7.samples