Android: Long EditText Short Button In RelativeLayout

Do you want to accomplish a search form that looks like this?

The only possible way is to use RelativeLayout. I had no such luck with using a LinearLayout and it seems that it cannot be done using that so RelativeLayout is the way to go.

Check the XML code below.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *