This worked...
@Override
protected void onMeasure( int widthMeasureSpec, int
heightMeasureSpec ) {
super.onMeasure( widthMeasureSpec, heightMeasureSpec );
// // Despite any measurements of children, always assume the
maximum
available area.
// Log.d( TAG, "onMeasure( "+widthMeasureSpec+",
"+heightMeasureSpec
+" )" );
Context context = getContext();
WindowManager wm = (WindowManager)context.getSystemService
( Context.WINDOW_SERVICE );
Display display = wm.getDefaultDisplay();
setMeasuredDimension( display.getWidth(), display.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
-~----------~----~----~----~------~----~------~--~---