java - How to change size of imagebutton in android programatically -


I have to create some button imagebuttons programatically and I do not know how to change their shape, how to change left and right does not work Does

Use this.

  LinearLayout.LayoutParams Parameters = Button.LightoutParam (); Params.width = 80; Button.setLayoutParams (parameter);  

It should work


Comments

Popular posts from this blog

Folder list php -

objective c - How to open front/back camera at the same time in iOS developing? -

GO: Serve static pages -