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
android_packages_apps_DeskClock
Commits
fd8b0b5f
Commit
fd8b0b5f
authored
Nov 24, 2020
by
Narinder Rana
Browse files
update switch button theme
parent
f3365e85
Changes
1
Hide whitespace changes
Inline
Side-by-side
res/values/themes.xml
View file @
fd8b0b5f
...
...
@@ -65,6 +65,13 @@
<style
name=
"ThemeOverlay.Control.Accent"
parent=
"ThemeOverlay.AppCompat"
>
<!-- Attributes from androidx.appcompat.appcompat -->
<item
name=
"colorControlActivated"
>
?attr/colorAccent
</item>
<!-- Active thumb color & Active track color(30% transparency) -->
<item
name=
"colorControlActivated"
>
@color/color_default_foreground
</item>
<!-- Inactive thumb color -->
<!-- <item name="colorSwitchThumbNormal">@color/color_default_foreground</item>-->
<!-- Inactive track color(30% transparency) -->
<!-- <item name="android:colorForeground">@color/grey600</item>-->
<item
name=
"trackTint"
>
@color/color_default_foreground
</item>
</style>
<style
name=
"ThemeOverlay.Popup"
parent=
"ThemeOverlay.AppCompat"
>
...
...
Write
Preview
Markdown
is supported
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