Name : Ruler Picker
Versione : 0.1
Description : Android custom view that uses ruler for picking the number from given range.
Picture of all the blocks
Instructions to use an extension
it is return selectedValue of rule momentarily
As for this, it returns the value after selection
Component you will show Ruluer Picker in it [Horizontal Arrangement]
You do not need to explain from its name the color of the indicator
it is the distance between two indicators in the ruler.
it is thickness of the indicator.
it is notch at the top of the ruler
the size of the text that displays the values in the ruler.
the color of the text that displays the values in the ruler.
the height of the long indicator.
The value must be between 0 to 1 where 1 indicates the height of the ruler.
the height of the short indicator.
The value must be between 0 to 1 where 1 indicates the height of the ruler.
Note
The value of Long indicator must greater than or equal to value of short indicator .
Maximum possible value to display in the ruler.
Minimum possible value to display in the ruler.
Note
Maximum value must be greater than Minimum value
ScreenShot
custom :
AIX :
com.mh.NP.aix (42.9 KB)
Simple AIA :
test.aia (45.1 KB)
If you find my extension useful, please support me