$ 0 0 Hi Kristin, Did you try this option? Layout.AUTO?E.g. BUTTON_1.setWidth(Layout.AUTO); Regards,Bharath