|
|
@ -1,5 +1,6 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<androidx.appcompat.widget.SearchView xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<androidx.appcompat.widget.SearchView |
|
|
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
android:id="@+id/search_view" |
|
|
|
android:id="@+id/search_view" |
|
|
|
android:theme="?attr/actionBarStyle" |
|
|
|
android:theme="?attr/actionBarStyle" |
|
|
@ -9,6 +10,6 @@ |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
android:layout_marginBottom="8dp" |
|
|
|
android:imeOptions="actionSearch" |
|
|
|
android:imeOptions="actionSearch" |
|
|
|
app:defaultQueryHint="搜索" |
|
|
|
|
|
|
|
app:queryBackground="@null" |
|
|
|
app:queryBackground="@null" |
|
|
|
app:submitBackground="@color/transparent" /> |
|
|
|
app:submitBackground="@null" |
|
|
|
|
|
|
|
app:defaultQueryHint="搜索"/> |