This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
DevOpsOpenHack/MobileApps/MyDriving/MyDriving.Android/Resources/values/styles.xml
2022-11-03 16:41:13 -04:00

120 lines
5.4 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<resources>
<style name="MyThemeDark" parent="MyThemeDark.Base">
</style>
<!-- Base theme applied no matter what API -->
<style name="MyThemeDark.Base" parent="Theme.AppCompat.NoActionBar">
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette-->
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">@color/primary</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">@color/primary_dark</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">@color/accent</item>
<item name="alertDialogTheme">@style/MyDialog</item>
<!-- You can also set colorControlNormal, colorControlActivated
colorControlHighlight and colorSwitchThumbNormal. -->
<!-- Option to hide the drop shadow here
<item name="actionBarStyle">@style/MyThemeDark.ActionBar</item>
<item name="android:windowContentOverlay">@null</item>
-->
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>
<style name="MyDialog" parent="Base.Theme.AppCompat.Light.Dialog.Alert">
<item name="colorAccent">@color/accent</item>
</style>
<style name="MyThemeDark.ActionBar" parent="style/Widget.AppCompat.ActionBar.Solid">
<!-- remove shadow below action bar -->
<!-- <item name="android:elevation">0dp</item> -->
<!-- Support library compatibility -->
<item name="elevation">0dp</item>
</style>
<style name="MyTheme.PopupTheme">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowCloseOnTouchOutside">true</item>
</style>
<style name="MyTheme" parent="MyTheme.Base">
</style>
<!-- Base theme applied no matter what API -->
<style name="MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette-->
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">@color/primary</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">@color/primary_dark</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">@color/accent</item>
<!-- You can also set colorControlNormal, colorControlActivated
colorControlHighlight and colorSwitchThumbNormal. -->
<item name="android:windowBackground">@color/window_background</item>
<!-- Option to hide the drop shadow here
<item name="actionBarStyle">@style/MyTheme.ActionBar</item>
<item name="android:windowContentOverlay">@null</item>
-->
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>
<style name="MyTheme.ActionBar" parent="style/Widget.AppCompat.Light.ActionBar.Solid">
<!-- remove shadow below action bar -->
<!-- <item name="android:elevation">0dp</item> -->
<!-- Support library compatibility -->
<item name="elevation">0dp</item>
</style>
<style name="SplashTheme" parent="SplashTheme.Base">
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette-->
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">@color/primary</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">@color/primary_dark</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">@color/accent</item>
</style>
<style name="SplashTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">@drawable/background_splash</item>
</style>
<style name="Widget.CardContentSummary" parent="android:Widget">
<item name="android:paddingLeft">8dp</item>
<item name="android:paddingRight">8dp</item>
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:orientation">vertical</item>
</style>
<style name="Widget.CardContent" parent="android:Widget">
<item name="android:paddingLeft">16dp</item>
<item name="android:paddingRight">16dp</item>
<item name="android:paddingTop">16dp</item>
<item name="android:paddingBottom">16dp</item>
<item name="android:orientation">vertical</item>
</style>
<style name="TwitterButton" parent="@android:style/Widget.Button">
<item name="colorButtonNormal">@color/button_twitter</item>
</style>
<style name="FacebookButton" parent="@android:style/Widget.Button">
<item name="colorButtonNormal">@color/button_facebook</item>
</style>
<style name="MicrosoftButton" parent="@android:style/Widget.Button">
<item name="colorButtonNormal">@color/button_microsoft</item>
</style>
<style name="PrimaryButton" parent="@android:style/Widget.Button">
<item name="colorButtonNormal">@color/primary</item>
</style>
</resources>