title: How do I make the black line smaller on an EditText in an AlertDialog?
body: <p><a href="https://i.stack.imgur.com/FAl6K.png" rel="nofollow noreferrer">This is the alertdialog</a></p>
  
  <p>I am using a custom xml file for the EditText to change its appearance. I have tried settings layout margins, padding, and setting it to custom widths but nothing changes the line.</p>
  
  <p>This is the editText's xml:</p>
  
  <pre><code>&lt;EditText xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/myEditTextId"
  android:layout_width="300dp"
  android:layout_height="wrap_content"
  android:layout_centerInParent="true"
  android:layout_marginStart="50dp"
  android:layout_marginEnd="50dp"
  android:gravity="center_horizontal"
  android:inputType="textNoSuggestions"
  android:textCursorDrawable="@drawable/dark_cursor"
  tools:ignore="Autofill,LabelFor" /&gt;
  </code></pre>