[Library Demo] ShapedImageView -
Демонстрация библиотеки Android
Пользовательская форма ImageView с использованием porterduffxfermode с формами краски и SVGS
Полем
https://github.com/steafagazar/customshapeimageview
Полем
Использование:
Android: layout_width = "64DP"
Android: Layout_height = "64DP"
Android: src = "@Draitable/Sample"
Приложение: Shape = "Circle"
Android: scaletype = "centercrop" />
Android: layout_width = "64DP"
Android: Layout_height = "64DP"
Android: src = "@Draitable/Sample"
Android: scaletype = "centercrop" />
Android: layout_width = "64DP"
Android: Layout_height = "64DP"
Android: src = "@Draitable/Sample"
Android: scaletype = "centercrop" />
Android: layout_width = "64DP"
Android: Layout_height = "64DP"
Android: src = "@Draitable/Sample"
APP: SVG_RAW_RESOURCE = "@RAW/SHAME_STAR"
Android: scaletype = "centercrop" />
Полем
Библиотеки используются:
https://github.com/latemic/svg-android