Can someone help me see how to figure out the width of my TextureView?

I tried this, but I got zeros (in the_width and the_height):



*protected void onCreate(Bundle savedInstanceState) {*
*
*
*mTextureView = new TextureView(this);*
*
*
*setContentView(mTextureView);*
*
*
*int the_width = mTextureView.getWidth();*
*int the_height = mTextureView.getHeight();*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to