4

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

Community
  • 1
  • 1
Mo Adel
  • 1,136
  • 1
  • 16
  • 29

2 Answers2

2

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

Mo Adel
  • 1,136
  • 1
  • 16
  • 29
0

use this lib

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

Vivek Pratap Singh
  • 1,564
  • 16
  • 26