I have TextView created programmatically, like that:
TextView mTextView = new TextView(getApplicationContext()); final LayoutPar
In this method you can get the width height of the view..
@Override public void onWindowFocusChanged(boolean hasFocus) { super.onWindowFocusChanged(hasFocus); int width = mTextView.getWidth(); int height = mTextView.getHeight(); }
and define TextView mTextView as global
TextView mTextView