Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Very custom radiobutton layout

$
0
0

Hi I'm trying to figure out how to create a custom view. The view is basically just a radiobutton, but the layout of it is rather different:

In the picture above you can see what I am trying to accomplice. Each radiobutton should have two textviews (each with a background), and when they are selected, a star on each site should be shown.

First of all. I cant figure out what the correct way would be? Should I inflate some custom xml or draw it by code? And a second problem is that I will need this control for an animation sequence, where the selection changes 5-10 times every second, so it should be as fast to draw/redraw as possible

Thanks in advance :)

(I've found quite a lot of examples with custom radiobuttons, but the problem here is that I need more childviews than the radiobutton offers, and I have no idea about the performance aspect of the different methods)


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>