opensrp-anc/src/main/res/layout/item_edit_text_number_picker.xml
<RelativeLayout 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:minHeight="60dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<Button
android:id="@+id/addbutton"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/ic_stock_plus" />
<com.rengwuxian.materialedittext.MaterialEditText
android:id="@+id/edit_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_weight="1"
android:textSize="@dimen/default_text_size"
app:met_floatingLabel="highlight"
app:met_floatingLabelText=""
app:met_floatingLabelTextSize="@dimen/default_text_size"
app:met_primaryColor="?colorAccent"
app:met_singleLineEllipsis="true" />
<ImageView
android:id="@+id/minusbutton"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="@drawable/ic_stock_minus" />
</LinearLayout>
</RelativeLayout>