0

I want to achieve something like this:

Here is the result image I want

Where I can create a radio button dynamically and set its background programmatically. Please help me in this.

valegians
  • 850
  • 1
  • 7
  • 17
laxminarayan1998
  • 838
  • 8
  • 13
  • Have you looked at [this](https://stackoverflow.com/questions/48155347/change-background-for-radio-button-programatically) ? – valegians Mar 06 '20 at 18:09
  • but I'm creating radio buttons programmatically. – laxminarayan1998 Mar 06 '20 at 18:28
  • There are several articles on creating buttons dynamically (like [this](https://www.endpoint.com/blog/2013/05/09/dynamically-adding-custom-radio-buttons)), and the other link I provided gives you the methods to change the colour/background. Unless I am missing something you'd only need to combine the two together. – valegians Mar 06 '20 at 18:34

0 Answers0