Speed text over the indicator #241
-
Is it possible to draw the speed text over the indicator? you can see that the speed text is not readable.. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The library doesn't provide this implementation. In order to do it you need to stack a TextView over the speedometer view, and update that text using one of the provided speed listeners. |
Beta Was this translation helpful? Give feedback.
-
Ok, thanks for the answer.. But why the default implementation draws the
text back the indicator? I think it is better always to have the text over
the indicator..
Il mer 4 gen 2023, 17:16 Anas Altair ***@***.***> ha scritto:
… The library doesn't provide this implementation.
In order to do it you need to stack a TextView over the speedometer view,
and update that text using one of the provided speed listeners.
—
Reply to this email directly, view it on GitHub
<#241 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALCUZIEMNP6I5NYJATHRQRTWQWO6RANCNFSM6AAAAAATQBKL44>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok.. Thanks for the explanation.. I will find another solution, or another
indicator..
Il dom 8 gen 2023, 09:35 Anas Altair ***@***.***> ha scritto:
… The expected behaviour is to draw speed text behind the indicator. Think
of a speedometer in the cars or in a clock, the analog is always on top of
everything.
—
Reply to this email directly, view it on GitHub
<#241 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALCUZICLU5247I5DGLNFIA3WRJ36XANCNFSM6AAAAAATQBKL44>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
The library doesn't provide this implementation.
In order to do it you need to stack a TextView over the speedometer view, and update that text using one of the provided speed listeners.