Presumably the EditText and the Button are inside a RelativeLayout. Set the button’s layout attributes to alignTop and alignBottom of the EditText.
Presumably the EditText and the Button are inside a RelativeLayout. Set the button’s layout attributes to alignTop and alignBottom of the EditText.