我已经搜索了EditText
,以便进行搜索。
EditText看起来像这样:
此xml是:
<EditText
android:id="@+id/Et_Search"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginEnd="24dp"
android:layout_marginTop="24dp"
android:layout_marginStart="24dp"
android:layout_marginBottom="8dp"
android:background="@drawable/et_rounded"
android:hint="@string/Activity_Search"
android:imeOptions="actionSearch"
android:inputType="text"
android:paddingStart="56dp"
android:paddingEnd="64dp"
android:textColorHint="@color/colorGray"
android:textSize="16sp"
app:layout_constraintTop_toTopOf="parent" />
自从我使用android:imeOptions="actionSearch"
以来,键入时打开的键盘如下:
我想知道是否可以将圆圈的颜色从绿色更改为其他颜色?
似乎这种绿色是应用程序的某些原色,但是我在任何地方都没有这种颜色。
谢谢
您可能已经探索过,可以通过设置imeOptions来从键盘上修改操作按钮。但是您不能覆盖图标,颜色或背景或系统提供的软键盘