[android-developers] Re: imageButton and weight

2012-02-07 Thread pidduweb
Solved: imgButton.setLayoutParams(new TableRow.LayoutParams(LayoutParams.wrap_content,LayoutParams.wrap_content, 1f)); Tha last parameter is the weight. Rocco On 7 Feb, 09:57, pidduweb wrote: > Hi all, >   i want to set at runtime the layout weight of an imageButton, but i > not

[android-developers] imageButton and weight

2012-02-07 Thread pidduweb
Hi all, i want to set at runtime the layout weight of an imageButton, but i not found any method setWeight, any one can help me? Thanks Rocco -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] imgButton and weight at runtime

2012-02-07 Thread pidduweb
HI all, i want to set at runtime the weight of a imagebutton, but there isn't a method setWeight, any one can help me? Thanks Rocco -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@