resize - Android change size buttons programatically generic -
i have next problem, need resize buttons in layout depending on screen size. know how write code each button
, problem have 50 buttons. there way change size of buttons using something, , not write 100 line codes?
here example of button:
<button android:id.... android:layout_width="wrap content" android:layout_height="wrap_content" android:layout_marginbottom="4dp" android:layout_marginright="30dp" android:layout_margintop="4dp" android:background="@drawable/..." android:minheight="0dp" android:minwidth="0dp" android:onclick= ... />
thanks
Comments
Post a Comment