forked from GitHub-Mirror/riotX-android
Create style VectorSearchView
This commit is contained in:
parent
477920f411
commit
896e582a9c
@ -20,10 +20,9 @@
|
||||
|
||||
<androidx.appcompat.widget.SearchView
|
||||
android:id="@+id/filteredRoomsSearchView"
|
||||
style="@style/VectorSearchView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:closeIcon="@drawable/ic_x_green"
|
||||
app:iconifiedByDefault="false"
|
||||
app:queryHint="@string/room_filtering_filter_hint"
|
||||
app:searchIcon="@drawable/ic_filter" />
|
||||
|
||||
|
@ -160,6 +160,11 @@
|
||||
<item name="colorControlHighlight">@android:color/white</item>
|
||||
</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">
|
||||
<item name="android:textCursorDrawable">@drawable/searches_cursor_background</item>
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
|
Loading…
Reference in New Issue
Block a user