I want to have a simple gauge view where i will define the start value and the end value and have a pointer to show given variable value.
On this site you will find some free customizable gauges.
ScComponents
Very easy to install and well documented. For example you can have for free something like this in 5 minutes following the instruction below.
Go on the above linked website. Click the GR004 and after the popup appear click on "Download for FREE". The library will downloaded, unzip and follow the instruction to install the library (aar file) inside your Android project.
Write this code in your XML layout and your gauge will done:
You have many XML options to customize it:
And the related function by coding.