diff options
author | YuutaW <17158086+Trumeet@users.noreply.github.com> | 2019-02-24 11:59:17 -0800 |
---|---|---|
committer | YuutaW <17158086+Trumeet@users.noreply.github.com> | 2019-02-24 11:59:17 -0800 |
commit | a08328403be84d85c006f801169a3feed0d956a4 (patch) | |
tree | ceebece6443a3e6662a4937b911c58904bb5b1ff /app/src/main/res/values/styles.xml | |
download | WorkMode-a08328403be84d85c006f801169a3feed0d956a4.tar WorkMode-a08328403be84d85c006f801169a3feed0d956a4.tar.gz WorkMode-a08328403be84d85c006f801169a3feed0d956a4.tar.bz2 WorkMode-a08328403be84d85c006f801169a3feed0d956a4.zip |
First Commit
Signed-off-by: YuutaW <17158086+Trumeet@users.noreply.github.com>
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r-- | app/src/main/res/values/styles.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..7af43d0 --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,35 @@ +<resources> + + <!-- Base application theme. --> + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + <!-- Customize your theme here. --> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + <item name="switchBarTheme">@style/ThemeOverlay.SwitchBar.Settings</item> + </style> + + + <style name="TextAppearance.Switch" parent="@style/TextAppearance.AppCompat.Title" /> + + <style name="Widget.SwitchBar.Switch" parent="@style/Widget.AppCompat.CompoundButton.Switch"> + <item name="trackTint">@color/switchbar_switch_track_tint</item> + <item name="android:thumbTint">@color/switchbar_switch_thumb_tint</item> + <item name="android:minHeight">@dimen/min_tap_target_size</item> + </style> + + <style name="TextAppearance.Small" parent="@style/TextAppearance.AppCompat.Small" /> + + <style name="TextAppearance.Small.SwitchBar"> + <item name="android:textColor">?android:attr/textColorPrimary</item> + <item name="android:textStyle">normal</item> + </style> + + <style name="ThemeOverlay.SwitchBar.Settings" parent="@style/ThemeOverlay.AppCompat.ActionBar"> + <item name="android:textColorPrimary">@android:color/white</item> + <item name="switchBarMarginStart">@dimen/switchbar_subsettings_margin_start</item> + <item name="switchBarMarginEnd">@dimen/switchbar_subsettings_margin_end</item> + <item name="switchBarBackgroundColor">@color/switch_bar_background</item> + <item name="switchBarBackgroundActivatedColor">?attr/colorAccent</item> + </style> +</resources> |