Sridhar Narasaiahgari Sridhar Narasaiahgari - 11 months ago 54
Android Question

How to create facebook type polls in android app?

I want to create facebook type poll to get the feedback from the user's. Each poll option count will be different. Ex, First poll with 2 options, 2nd poll with 3 options, 3rd poll with 5 options.How to create?

Answer Source

You can solve this using a vertical LinearLayout to hold all options. Each option would be a horizontal LinearLayout consisting of a RadioButton, a form of ProgressBar (Extend on Android default ProgressBar for this Widget) and a Button.