SyntaxFix
Write A Post
Hire A Developer
Questions
Use below code, it is give the size of view.
@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); Log.e("WIDTH",""+view.getWidth()); Log.e("HEIGHT",""+view.getHeight()); }