我想删除使用
TextInputLayout
并使用样式ExposedDropdownMenu
时由AutoCompleteTextView
创建的下拉箭头。
<com.google.android.material.textfield.TextInputLayout
android:layout_marginTop="10dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:hint="Marital Status"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:boxStrokeColor="@color/colorPrimaryDark">
<AutoCompleteTextView
android:background="@null"
android:focusable="false"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/edt_marital" />
</com.google.android.material.textfield.TextInputLayout>