Reputation: 11
I created dimens files for 320dp, 360dp and 480dp screen sizes in values folder.
However when I use values from dimens in my project, It would always take values from dimens-sw480dp. I tested it on 320dp and 360dp width screen devices.
I also tried changing files names...dimens-sw480dp.xml to dimens-sw480.xml but nothing changed.
Upvotes: 0
Views: 287
Reputation: 11
So I had to create values directory for every screen resolution.
Upvotes: 1