0

I need to create a gauge. The first image will be static and holds the measurements and markings. The second image will slide in from bottom to top. To simulate a water tank.

What will be the best way to handle this problem?

At the moment I am trying to use a framelayout to hold the two images but not sure if its the right approach.

I have done this in css and jquery but cant seen to find a way around it in android native.

any ideas?

Victor Odiah
  • 1,061
  • 11
  • 14

1 Answers1

0

In general you'll have better luck here if you make the title of your question more descriptive. It doesn't seem like you are actually asking anything about FrameLayout.

Anywho, if I am understanding you correctly you should be able to adapt ProgressBar to fit your needs for creating a water tank. Note if you want it to be vertical instead of horizontal you can find a solution on this question: Android - set a ProgressBar to be a vertical bar instead of horizontal?

Community
  • 1
  • 1
FoamyGuy
  • 46,603
  • 18
  • 125
  • 156