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 -

GO: Serve static pages -

python - Why can't I destroy my StaticText in wxPython? -