Apply default style for SearchView
This commit is contained in:
parent
9dab8b9726
commit
d60e68c4ee
|
@ -23,7 +23,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/filteredRoomsSearchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:queryHint="@string/room_filtering_filter_hint"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/incomingShareSearchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:queryHint="@string/room_filtering_filter_hint"
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/searchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:backgroundTint="@color/base_color"
|
||||
|
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/incomingShareSearchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:queryHint="@string/room_filtering_filter_hint"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/publicRoomsFilter"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:queryHint="@string/room_directory_search_hint" />
|
||||
|
|
|
@ -67,7 +67,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/memberNameFilter"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
|
|
|
@ -100,7 +100,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/searchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dp"
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/publicRoomsFilter"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
|
|
|
@ -53,13 +53,6 @@
|
|||
<item name="android:textSize">16sp</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="VectorSearchView" parent="Widget.AppCompat.SearchView">
|
||||
<item name="searchIcon">@drawable/ic_search</item>
|
||||
<item name="closeIcon">@drawable/ic_x_gray</item>
|
||||
<item name="iconifiedByDefault">false</item>
|
||||
</style>
|
||||
|
||||
<style name="TimelineContentStubBaseParams">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="VectorSearchView" parent="Widget.AppCompat.SearchView">
|
||||
<item name="searchIcon">@drawable/ic_search</item>
|
||||
<item name="closeIcon">@drawable/ic_x_gray</item>
|
||||
<item name="iconifiedByDefault">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -69,6 +69,7 @@
|
|||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleDark</item>
|
||||
<item name="bottomNavigationStyle">@style/VectorBottomNavigation</item>
|
||||
<item name="searchViewStyle">@style/VectorSearchView</item>
|
||||
|
||||
<!-- Default style for text input -->
|
||||
<item name="textInputStyle">@style/VectorTextInputLayout</item>
|
||||
|
|
|
@ -69,6 +69,7 @@
|
|||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleLight</item>
|
||||
<item name="bottomNavigationStyle">@style/VectorBottomNavigation</item>
|
||||
<item name="searchViewStyle">@style/VectorSearchView</item>
|
||||
|
||||
<!-- Default style for text input -->
|
||||
<item name="textInputStyle">@style/VectorTextInputLayout</item>
|
||||
|
|
Loading…
Reference in New Issue