2016-08-05 16:58:05 +00:00
|
|
|
<resources>
|
|
|
|
|
|
|
|
<!-- Base application theme. -->
|
2016-08-21 13:29:42 +00:00
|
|
|
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
|
|
|
|
<item name="colorPrimary">@color/primary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
|
|
|
<item name="colorAccent">@color/accent</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
2016-09-25 05:16:28 +00:00
|
|
|
<item name="cardStyle">@style/CardViewStyle.Light</item>
|
2016-08-21 13:29:42 +00:00
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
2016-09-25 05:16:28 +00:00
|
|
|
<item name="ColorOK">@color/green500</item>
|
|
|
|
<item name="ColorWarn">@color/yellow500</item>
|
|
|
|
<item name="ColorFail">@color/red500</item>
|
|
|
|
<item name="ColorNeutral">@color/grey500</item>
|
2016-08-21 13:29:42 +00:00
|
|
|
</style>
|
|
|
|
|
2016-09-25 05:16:28 +00:00
|
|
|
<style name="AppTheme.dh" parent="ThemeOverlay.AppCompat.Dark">
|
|
|
|
<item name="colorPrimary">@color/dh_primary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/dh_primary_dark</item>
|
|
|
|
<item name="colorAccent">@color/dh_accent</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
|
|
|
<item name="cardBackgroundColor">@color/dh_accent</item>
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
<item name="cardStyle">@style/CardViewStyle.Dark</item>
|
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
|
|
<item name="android:textColorPrimary">@color/dh_primary_text</item>
|
|
|
|
<item name="android:textColorSecondary">@color/dh_primary_text</item>
|
2016-09-25 15:11:57 +00:00
|
|
|
<item name="android:alertDialogTheme">@style/AlertDialog.dh</item>
|
|
|
|
<item name="android:dialogTheme">@style/AlertDialog.dh</item>
|
2016-09-25 15:53:20 +00:00
|
|
|
<item name="android:actionOverflowButtonStyle">@style/OverFlow</item>
|
2016-09-25 19:11:39 +00:00
|
|
|
<item name="colorControlNormal">@color/dh_primary_text</item>
|
|
|
|
<item name="colorControlActivated">@color/dh_accent</item>
|
|
|
|
<item name="colorControlHighlight">@color/dh_icons</item>
|
2016-09-25 05:16:28 +00:00
|
|
|
<item name="ColorOK">@color/dh_alertOk</item>
|
|
|
|
<item name="ColorWarn">@color/dh_alertWarn</item>
|
|
|
|
<item name="ColorFail">@color/dh_alertFail</item>
|
2016-09-25 19:11:39 +00:00
|
|
|
<item name="ColorNeutral">@color/dh_alertWarn</item>
|
2016-09-25 05:16:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
2016-09-25 15:53:20 +00:00
|
|
|
<style name="OverFlow" parent="@android:style/Widget.ActionBar">
|
|
|
|
<item name="android:backgroundTint">@color/dh_icons</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2016-09-25 05:16:28 +00:00
|
|
|
<style name="AppTheme.Toolbar.dh" parent="ThemeOverlay.AppCompat.Dark">
|
|
|
|
<item name="colorPrimary">@color/dh_primary</item>
|
|
|
|
<item name="android:elevation">4dp</item>
|
|
|
|
<item name="android:textColorPrimary">@color/dh_primary_text</item>
|
|
|
|
<item name="android:textColorSecondary">@color/dh_primary_text</item> <!-- force -->
|
|
|
|
<item name="actionMenuTextColor">@color/dh_icons</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="CardViewStyle.Dark" parent="CardView">
|
|
|
|
<item name="cardBackgroundColor">@android:color/background_dark</item>
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
2016-09-25 15:11:57 +00:00
|
|
|
<style name="AlertDialog.dh" parent="ThemeOverlay.AppCompat.Dark">
|
2016-09-25 06:16:08 +00:00
|
|
|
<item name="android:textColor">@color/dh_primary_text</item>
|
|
|
|
<item name="android:textColorSecondary">@color/dh_primary_text</item>
|
2016-09-25 15:11:57 +00:00
|
|
|
<item name="colorAccent">@color/dh_accent</item>
|
|
|
|
<item name="android:textColorPrimary">@color/dh_primary_text</item>
|
2016-09-25 15:53:20 +00:00
|
|
|
<item name="android:background">@color/dh_divider</item>
|
2016-09-25 15:11:57 +00:00
|
|
|
<item name="android:textColorAlertDialogListItem">@color/dh_primary_text</item>
|
2016-09-25 06:16:08 +00:00
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
|
|
<item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
|
|
|
|
<item name="android:windowMinWidthMajor">@android:dimen/dialog_min_width_major</item>
|
2016-09-25 15:11:57 +00:00
|
|
|
<item name="android:windowTitleStyle">@style/MyTitleTextStyle</item>
|
2016-09-25 06:16:08 +00:00
|
|
|
<item name="android:windowMinWidthMinor">@android:dimen/dialog_min_width_minor</item>
|
2016-09-25 15:11:57 +00:00
|
|
|
<item name="android:alertDialogStyle">@style/ListPrefAlertDialogStyle</item>
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
<item name="android:textAppearanceMedium">@style/MyAlertTextAppearance</item>
|
|
|
|
|
|
|
|
</style>
|
2016-09-25 06:16:08 +00:00
|
|
|
|
2016-09-25 15:11:57 +00:00
|
|
|
<style name="MyAlertTextAppearance">
|
|
|
|
<!-- Set text size and color of title and message here -->
|
|
|
|
<item name="android:textColor">@color/dh_primary_text</item>
|
2016-09-25 06:16:08 +00:00
|
|
|
</style>
|
2016-09-25 05:16:28 +00:00
|
|
|
|
|
|
|
|
2016-09-25 15:11:57 +00:00
|
|
|
|
|
|
|
<style name="ListPrefAlertDialogStyle">
|
|
|
|
<item name="android:fullDark" >@android:color/transparent</item>
|
|
|
|
<item name="android:topDark" >@android:color/transparent</item>
|
|
|
|
<item name="android:centerDark" >@android:color/transparent</item>
|
|
|
|
<item name="android:bottomDark" >@android:color/transparent</item>
|
|
|
|
<item name="android:fullBright" >@android:color/transparent</item>
|
|
|
|
<item name="android:topBright" >@android:color/transparent</item>
|
|
|
|
<item name="android:centerBright">@android:color/transparent</item>
|
|
|
|
<item name="android:bottomBright">@android:color/transparent</item>
|
|
|
|
<item name="android:bottomMedium">@android:color/transparent</item>
|
|
|
|
<item name="android:centerMedium">@android:color/transparent</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-25 19:11:39 +00:00
|
|
|
<style name="ListViewStyle.dh" parent="android:Widget.Material.PopupMenu">
|
|
|
|
<item name="android:divider">@color/dh_divider</item>
|
|
|
|
<item name="android:dividerHeight">1dp</item>
|
|
|
|
<item name="android:listSelector">@android:color/background_dark</item>
|
|
|
|
<item name="android:drawSelectorOnTop">true</item>
|
|
|
|
<item name="android:cacheColorHint">@color/dh_divider</item>
|
|
|
|
<item name="android:foregroundTint">@color/dh_primary_text</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="TransparentListView" parent="@android:style/Widget.ListView">
|
|
|
|
<item name="android:cacheColorHint">@android:color/transparent</item>
|
|
|
|
<item name="android:background">#FFFF00</item>
|
|
|
|
<item name="android:listSelector">@android:color/transparent</item>
|
|
|
|
<item name="android:divider">#F78181</item>
|
|
|
|
<item name="android:dividerHeight">3dp</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-25 15:11:57 +00:00
|
|
|
<style name="MyTitleTextStyle">
|
|
|
|
<item name="android:textColor">@color/dh_primary_text</item>
|
|
|
|
<item name="android:textAppearance">@style/TextAppearance.AppCompat.Title</item>
|
|
|
|
</style>
|
|
|
|
|
2016-09-25 05:16:28 +00:00
|
|
|
<style name="CardViewStyle.Light" parent="CardView">
|
|
|
|
<item name="cardBackgroundColor">@android:color/background_light</item>
|
|
|
|
</style>
|
2016-08-05 16:58:05 +00:00
|
|
|
|
2016-08-26 11:01:12 +00:00
|
|
|
<style name="AppTheme.Transparent" parent="Theme.AppCompat.Light.NoActionBar">
|
|
|
|
</style>
|
|
|
|
|
2016-09-24 16:54:12 +00:00
|
|
|
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
|
|
|
|
<item name="android:windowBackground">@drawable/ic_splash_activity</item>
|
|
|
|
</style>
|
|
|
|
|
2016-08-05 16:58:05 +00:00
|
|
|
</resources>
|