I need to place 3 buttons i one line./Using LinearLayout/.
Problem is when change text on button. Width changes because of “android:layout_width=”wrap_content”. I want to be sure thab buttons will ocupy screen width i 4:4:2 proportion. Clause ‘wrap_content’ brokes this, but I can not use exact size because I don’t know device screen width in design time.
Anybody knows easy way to solve this without using code?
Don’t set their width to wrap_content. Set proportional weights instead: