HomeAppsBusiness Office
  • [Library Demo] ShapedImageView

    [Library Demo] ShapedImageView

    8.6 1.0 2024-12-24
    Business Office
    Download

Android library demo

Custom shape ImageView using PorterDuffXfermode with paint shapes and SVGs

.

https://github.com/MostafaGazar/CustomShapeImageView

.

Usage:

android:layout_width="64dp"

android:layout_height="64dp"

android:src="@drawable/sample"

app: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"

app:svg_raw_resource="@raw/shape_star"

android:scaleType="centerCrop" />

.

Libraries used:

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

Read more

Preview

Users Also Viewed

View All

You May Like

View All

More similar games

View All

More Level games

View All