Dimension resource file in Android

Store the resource file in /res/values/dimens.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <dimen name="thumbDim">100px</dimen>
</resources>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.