mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add WhiteSearchBarTheme to styles.xml (#2211)
This commit is contained in:
parent
774436ce7b
commit
5c8a0cdd93
2 changed files with 3 additions and 4 deletions
|
|
@ -35,6 +35,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
|
app:theme="@style/WhiteSearchBarTheme"
|
||||||
android:queryBackground="@android:color/transparent"
|
android:queryBackground="@android:color/transparent"
|
||||||
android:searchIcon="@null"
|
android:searchIcon="@null"
|
||||||
android:paddingLeft="-16dp"
|
android:paddingLeft="-16dp"
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,6 @@
|
||||||
<item name="textEnabled">@color/enabled_button_text_color_dark</item>
|
<item name="textEnabled">@color/enabled_button_text_color_dark</item>
|
||||||
<item name="mainCardBackground">@color/main_background_dark</item>
|
<item name="mainCardBackground">@color/main_background_dark</item>
|
||||||
<item name="mainScreenNearbyPermissionbutton">@style/DarkFlatNearbyPermissionButton</item>
|
<item name="mainScreenNearbyPermissionbutton">@style/DarkFlatNearbyPermissionButton</item>
|
||||||
|
|
||||||
<!-- SearchView cursor color -->
|
|
||||||
<item name="colorControlActivated">@android:color/white</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="LightAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
<style name="LightAppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
||||||
|
|
@ -50,8 +47,9 @@
|
||||||
<item name="textEnabled">@color/enabled_button_text_color_light</item>
|
<item name="textEnabled">@color/enabled_button_text_color_light</item>
|
||||||
<item name="mainCardBackground">@color/primaryDarkColor</item>
|
<item name="mainCardBackground">@color/primaryDarkColor</item>
|
||||||
<item name="mainScreenNearbyPermissionbutton">@style/LightFlatNearbyPermissionButton</item>
|
<item name="mainScreenNearbyPermissionbutton">@style/LightFlatNearbyPermissionButton</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- SearchView cursor color -->
|
<style name="WhiteSearchBarTheme" parent="DarkAppTheme">
|
||||||
<item name="colorControlActivated">@android:color/white</item>
|
<item name="colorControlActivated">@android:color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue