I'm new to android development and I am making small, small programs as a practice. I was previously working on web development. In CSS we use % or vw, vh for sizes according to screen width or height. But in android I found only px, dp and sp. I just want to know is there any equivalent of CSS %, vw or vh in android as well. If so how to use them?
Thanks in advance