Here is some examples to define dimension using XML.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="one_pixels">1px</dimen>
<dimen name="five_dp">5dp</dimen>
<dimen name="1_inch">1in</dimen>
<dimen name="1_cm">10mm</dimen>
</resources>
Thank you for reading this article How to define dimension in Android using XML With URL https://x-tutorials.blogspot.com/2010/04/how-to-define-dimension-in-android.html. Also a time to read the other articles.
0 comments:
Write your comment for this article How to define dimension in Android using XML above!