Answer the question
In order to leave comments, you need to log in
How do I change background in TextInputLayout in xml?
This style has the default gray color for the stroke of this box and the triangle.
I want to change their colors to blue.
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin10"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu">
<AutoCompleteTextView
android:id="@+id/cropsAuto"
android:textSize="@dimen/text_size"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:inputType="none"
android:text="@string/choose_one_of_them" />
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question