mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Create style VectorSearchView
This commit is contained in:
parent
477920f411
commit
896e582a9c
@ -20,10 +20,9 @@
|
|||||||
|
|
||||||
<androidx.appcompat.widget.SearchView
|
<androidx.appcompat.widget.SearchView
|
||||||
android:id="@+id/filteredRoomsSearchView"
|
android:id="@+id/filteredRoomsSearchView"
|
||||||
|
style="@style/VectorSearchView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:closeIcon="@drawable/ic_x_green"
|
|
||||||
app:iconifiedByDefault="false"
|
|
||||||
app:queryHint="@string/room_filtering_filter_hint"
|
app:queryHint="@string/room_filtering_filter_hint"
|
||||||
app:searchIcon="@drawable/ic_filter" />
|
app:searchIcon="@drawable/ic_filter" />
|
||||||
|
|
||||||
|
@ -160,6 +160,11 @@
|
|||||||
<item name="colorControlHighlight">@android:color/white</item>
|
<item name="colorControlHighlight">@android:color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="VectorSearchView" parent="Widget.AppCompat.SearchView">
|
||||||
|
<item name="closeIcon">@drawable/ic_x_green</item>
|
||||||
|
<item name="iconifiedByDefault">false</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<style name="VectorSearches.EditText" parent="Widget.AppCompat.EditText">
|
<style name="VectorSearches.EditText" parent="Widget.AppCompat.EditText">
|
||||||
<item name="android:textCursorDrawable">@drawable/searches_cursor_background</item>
|
<item name="android:textCursorDrawable">@drawable/searches_cursor_background</item>
|
||||||
<item name="android:background">@android:color/transparent</item>
|
<item name="android:background">@android:color/transparent</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user