1

I can't figure out how to achieve this in android. I have a layout like this:

enter image description here

I am getting a list of images and I want them to behave like radio buttons in a radiogroup and I have implemented like that here. I can't figure out how to draw a border like this around the images when it is checked. Any help will be appreciated.

ifiok
  • 499
  • 4
  • 14

1 Answers1

0

You have to create Shape element and dynamically put to the background of the Image View as Drawable.

Android add border to edit text programmatically

Community
  • 1
  • 1
Max77
  • 1,466
  • 13
  • 19