<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <EditText android:id="@+id/enEditText" android:paddingTop="5dp" android:paddingBottom="5dp" android:layout_width="0dp" android:layout_weight="1.5" android:layout_height="match_parent" android:minLines="2" android:layout_marginRight="10dp" android:layout_marginBottom="7dp"/> <Button android:id="@+id/enEditTextButton" android:layout_width="0dp" android:layout_weight="1" android:layout_height="fill_parent" android:background="@drawable/buttonHalf.9" android:layout_marginBottom="7dp" gn:setBackgroundPressed="@drawable/buttonHalfPressed.9" android:textSize="20sp" android:textColor="#FFFFFF"/> </LinearLayout>