K
K
KuratnikDmitry2013-10-21 00:07:14
iPhone
KuratnikDmitry, 2013-10-21 00:07:14

Android GUI

I can't make the next interface element.
image
image

I think it's possible with the help of the progress bar. but I can't figure out how.
If there is a suggestion on how this can be done without a progress bar, I will be glad to hear it.

If it is still optimal with the help of a progress bar, please tell me how this can be implemented. Examples would be helpful)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gleb_kudr, 2013-10-21
@gleb_kudr

I don’t understand why the iphone tag is needed, but in general this is done with graphical primitives without any progress bars. Background + arrow. You have the extreme points of the scale and the angle between them, so the deviation of the arrow depending on the value is calculated elementarily. You draw an arrow rotated to the desired angle with any available graphics library. You can write yourself, there is the simplest trigonometry.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question