I'm trying to resize a button placed on DynamicTableLayout an extended
TableLayout.

I've overloaded the onSizeChanged event of the TableLayout to resize
the button using:

Button button = (Button)((Activity)_context).findViewById
(R.id.Button1);

ViewGroup.LayoutParams params = button.getLayoutParams();
params.width = width;
params.height = height;
button.setLayoutParams(params);

This executes; however, the button is not resized.  I've also tried
the button.setWidth and button.setHeight functions.  Could someone
point me in the right direction?

thanks,
tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to