Mo Adel
Mo Adel

Reputation: 1146

Rounded Corner for a Polygon (hexagon)

I am trying to achieve a rounded corner hexagon ImageView on Android

Exactly like this one but Hexagon :

enter image description here

I tried my best but failed in every possible way, i did find this answer which is perfect as it lets u enter number of sides required and it does the rest. but sadly it was for iOS, so i am not sure if it is helpful to anyone that know both languages, and can recreate it in android

Upvotes: 4

Views: 1727

Answers (2)

Vivek Pratap Singh
Vivek Pratap Singh

Reputation: 1662

use this lib

this can be helpful for you . i used this and made just like yours.

Upvotes: 0

Mo Adel
Mo Adel

Reputation: 1146

I found a library that can accomplish that but that was after i done it myself, So here is the link to library and it does many shapes

Upvotes: 2

Related Questions