ajout_layout.xml
894 Bytes
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<AutoCompleteTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="20dp"
android:layout_margin="3dp"
android:id="@+id/textNom"
android:hint="@string/ajout1"/>
<ImageButton
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_margin="5dp"
android:layout_gravity="right"
android:src="@drawable/next"
android:adjustViewBounds="true"
android:background="@color/colorPrimary"
android:scaleType="fitCenter"
android:onClick="onClickAjout"/>
</LinearLayout>