Q: Show shadow on AppCompatEditText everyone. I have an AppCompatEditText field that is inside a TextInputLayout tag. Now I put a light shadow around the text box. Unfortunately, the whole thing is not displayed as I would like it to be, see picture. The lower part of the field does not appear. Do I have to set a distance, if so where?
  <com.google.android.material.textfield.TextInputLayout
    android:id="@+id/suche"
    style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="10dp"
    android:paddingBottom="5dp"
    android:layout_marginStart="20dp"
    android:layout_marginTop="288dp"
    android:layout_marginEnd="20dp"
    app:boxCornerRadiusBottomEnd="20dp"
    app:boxCornerRadiusBottomStart="20dp"
    app:boxCornerRadiusTopEnd="20dp"
    app:boxCornerRadiusTopStart="20dp"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="@+id/imgMain"
    app:startIconDrawable="@drawable/ic_baseline_search_24">

    <androidx.appcompat.widget.AppCompatEditText

        android:elevation="5dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:backgroundTint="@color/white_real"
        android:background="@drawable/search_for"
        android:hint="Suche..."
        android:inputType="textEmailAddress"> 
 </androidx.appcompat.widget.AppCompatEditText>
</com.google.android.material.textfield.TextInputLayout>



A: Set
android:layout_marginBottom="50dp"

instead of
android:layout_marginBottom="10dp"

