title: Android making scale (ruler) on screen
body: <p>In my application I want to create a ruler to measure length. I have gone through some ruler application in google store. I want to achieve somewhat as shown in the picture. </p>
  
  <p>So my question is how do I draw this marking as per users mobile screen configuration. Is it using using some drawable image or some drawing on canvas.</p>
  
  <p>I am new to android development. Also that the ruler when dragged downward marking and numbering move. So how to achieve<a href="https://i.stack.imgur.com/XVSQt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XVSQt.png" alt="enter image description here"></a> that thing.</p>