You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
widthPixels and heightPixels are adjusted for system decor. This is generally no good for maintaining compatibility with typical android size buckets (600dp for tablets, 720dp for large format tablets, etc).
A hack would be to display.getSize(p) metrics.widthPixels = p.x; etc.
The text was updated successfully, but these errors were encountered:
http://developer.android.com/reference/android/view/Display.html#getMetrics(android.util.DisplayMetrics)
widthPixels and heightPixels are adjusted for system decor. This is generally no good for maintaining compatibility with typical android size buckets (600dp for tablets, 720dp for large format tablets, etc).
A hack would be to display.getSize(p) metrics.widthPixels = p.x; etc.
The text was updated successfully, but these errors were encountered: