How can I get the screen width and height and use this value in:
@Override protected void onMeasure(int widthSpecId, int heightSpecId) { Log.e(TAG, \"onM
Why not
DisplayMetrics displaymetrics = getResources().getDisplayMetrics();
then use
displayMetrics.widthPixels (heightPixels)