문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top