I really do not know if that is the most appropriate title but I need to make a button this over an editext, in the picture below you see what I need, for now this is the code that I have in the xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
style="@style/App"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.cjamcu.ligo.LoginActivity">
<ScrollView
android:id="@+id/login_form"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/email_login_form"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal">
<com.cjamcu.ligo.lib.AssetDrawableCompatEditText
android:id="@+id/et_email"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_marginRight="8dp"
android:layout_weight="15"
android:background="@drawable/rounded_edittext"
android:drawablePadding="8dp"
app:drawableLeftCompat="@drawable/ic_arrow_drop_down_black_24dp" />
<ImageButton
android:id="@+id/btnLogin"
style="@style/AppTheme.RoundedCornerMaterialButton"
android:layout_weight="1"
android:src="@android:drawable/ic_menu_send" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>