Question

I have a requirement to display multiple linear progress bars on my UI. These will display wifi signal strengths.

If you're in a built up area, chances are you'll detect more than one wifi network, therefore I need to have a progress bar for each one which displays the signal strength.

My initial idea was to display these in a ListView, with the wifi name and the progress bar underneath.

Is this a reasonable approach, or is there a better method I should be looking at for this?

Was it helpful?

Solution

ListView anyway is a good choice, but it has some drawbacks, since ListView is intented to be used with selectable items. In your case I suggest you don't need selections of items.

I would suggest to use another approach: TableLayout wrapped in ScrollView with dynamically added TableRows. In this case you don't need of unnecessary ListView's overhead

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top