This custom view is an improved version of: https://www.b4x.com/android/forum/threads/81604/#content It depends on BitmapCreator v4.70+: https://www.b4x.com/android/forum/threads/xui-library-drawing-methods.104339/#post-654641 The class is included in the attached B4A project. It is compatible...
www.b4x.com
How to get the display of decimal values? I would like to use this to display the temperature.
In the CircularProgressBar.bas module, replace this line: mLbl.Text = $"$1.0{Value}"$
by this line: mLbl.Text = $"$1.1{Value}"$
In $1.1 the number before the decimal point means the numbers of characters before the decimal point. it adds leading zeros if needed.
and the number after the decimal point means the maximum numbers of characters after the decimal point
Make sure that when you set CircularProgressBar.Value = xxx, xxx is a Float or Double type variable.