Tablet - Get Drawable Screen Resolution, Not Total Screen Resolution
With tablets and some phones running 4.0 there are on screen controls. I am developing a full screen canvas-based game. I adjust my canvas to fit the screen size with a matrix.
Solution 1:
Use the Android DisplayMetrics
class. The data it returns is the area available for the app to use, not including the on-screen controls and so forth.
Post a Comment for "Tablet - Get Drawable Screen Resolution, Not Total Screen Resolution"