This is a demo app made for my "Embracing Fragmentation" talk, showing how to use resources to create an app that runs on a multitude of devices.
The app shows the actual screen size of your device in both pixels and device independent pixels (dips). It also shows the size of the view, the type of screen (small, normal, large, xlarge) and the screen dpi class (ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi).
The code for this app is open source and available from the website link.