I have tried many things here to make my LinearLayout stand at the bottom of the screen but I can not do that. I need to do this with Linear which has the id="underneath" Anyone know?
Follow my xml:
<?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:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="Teste"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</ScrollView>
<LinearLayout
android:id="+id/embaixo"
android:layout_gravity="end"
android:gravity="end"
android:padding="10dp"
android:background="@color/colorAccent"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="40dp"
android:scaleType="fitCenter"
app:srcCompat="@drawable/marca_simplifica" />
</LinearLayout>
</LinearLayout>