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
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
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@
3 matches
Mail list logo