![enter image description here](https://i.stack.imgur.com/niDTr.png)
Я использую компонент Материал , и мне нужно сделать многострочный текст редактирования, как на картинке выше. Я попытался использовать код ниже, но это странно, я не могу изменить цвет границы и ширину обводки границы, и он обрезается сверху. Не могли бы вы поделиться своим кодом, чтобы сделать текст редактирования таким образом, используя компонент материала?
вот код, который я пробовал, но результат странный
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/editText_explanation_layout"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginTop="32dp"
android:layout_marginEnd="16dp"
app:layout_constraintHeight_percent="0.3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView_description_question"
style="@style/DescriptionTextInputLayoutStyle">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/editText_explanation"
style="@style/InputDataEditTextStyle"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:ems="10"
android:gravity="top|left"
android:hint="Berikan penjelasan dengan lengkap supaya acara mudah ditemukan para pengguna"
android:inputType="textMultiLine"
android:maxLength="10000"
android:padding="16dp"
android:scrollbars="vertical"
android:scrollHorizontally="false" />
</com.google.android.material.textfield.TextInputLayout>
<style name="DescriptionTextInputLayoutStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<item name="strokeColor">@color/red_light</item>
<item name="strokeWidth">0.75dp</item>
</style>