Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
2af4201c
Commit
2af4201c
authored
May 02, 2022
by
Romain Hunault
Browse files
Merge branch '235-search_field_color_fix' into 'master'
Fix search field See merge request
!82
parents
c44ad713
6e6ce127
Pipeline
#183139
failed with stage
in 2 minutes and 2 seconds
Changes
3
Pipelines
3
Show whitespace changes
Inline
Side-by-side
app/src/main/res/layout/layout_search_suggestion.xml
View file @
2af4201c
...
...
@@ -31,7 +31,8 @@
android:inputType=
"text"
android:maxLines=
"1"
android:textColor=
"@color/on_surface_high_emphasis"
android:textColorHint=
"@color/search_hint_color"
/>
android:textColorHint=
"@color/on_surface_medium_emphasis"
android:theme=
"?searchBarTheme"
/>
<ImageView
android:id=
"@+id/clearSuggestionImageView"
...
...
app/src/main/res/values/attrs.xml
View file @
2af4201c
...
...
@@ -49,5 +49,6 @@
<attr
name=
"widgetPrimaryTextColor"
format=
"color"
/>
<attr
name=
"widgetSecondaryTextColor"
format=
"color"
/>
<attr
name=
"widgetSettingsIconColor"
format=
"color"
/>
<attr
name=
"searchBarTheme"
format=
"reference"
/>
</resources>
app/src/main/res/values/styles.xml
View file @
2af4201c
...
...
@@ -17,6 +17,7 @@
<item
name=
"android:windowDrawsSystemBarBackgrounds"
>
true
</item>
<item
name=
"android:enforceNavigationBarContrast"
>
false
</item>
<item
name=
"android:enforceStatusBarContrast"
>
false
</item>
<item
name=
"searchBarTheme"
>
@style/SearchBar
</item>
</style>
<style
name=
"HomeScreenTheme"
parent=
"BaseHomeScreenTheme"
>
...
...
@@ -61,4 +62,9 @@
<item
name=
"android:textAllCaps"
>
true
</item>
<item
name=
"android:fontFamily"
>
sans-serif
</item>
</style>
<style
name=
"SearchBar"
>
<item
name=
"android:colorAccent"
>
#000000
</item>
<item
name=
"android:colorControlActivated"
>
#000000
</item>
</style>
</resources>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment