1

I'd like to be able to have some sort of volume panel looking something like :

|||||||||||||||||||||

Where the lines highlight according to how loud/quiet the sound is according to decibels. Is there a built in Android component to handle this, or does anyone have any ideas as to how I could handle this?

litterbugkid
  • 3,534
  • 7
  • 36
  • 54

1 Answers1

3

My approach would be to use a Rating Bar and override the android:numStars value to be the number of bars you want. Then, create a drawable that will replace the star images with bars. Really hope this helps.

Best of luck.

OrhanC1
  • 1,415
  • 2
  • 14
  • 28