I have an EditText and a Button set next to each other on the same horizontal line. It looks great, except when the user enters a lot of text, the
EditText
Button
For EditText use
android:layout_width="0dp" - not required but preferred. android:layout_weight="1"
And for Button dont specify android:layout_weight
android:layout_weight