2015-01-13 21:55:53 +01:00
<?xml version="1.0" encoding="utf-8"?>
<resources >
2015-08-12 17:09:07 +02:00
<style name= "Base.Theme.Keychain.Light" parent= "Theme.AppCompat.Light" >
2015-06-25 19:24:02 +02:00
<item name= "colorPrimary" > #7bad45</item>
<item name= "colorPrimaryDark" > #6c983d</item>
<item name= "colorAccent" > #2196f3</item>
2015-06-26 13:57:40 +02:00
<item name= "colorBrightToolbar" > #dddddd</item>
2015-06-25 19:24:02 +02:00
<item name= "colorFab" > #2196f3</item>
<item name= "colorFabPressed" > #1976d2</item>
2015-06-26 11:33:53 +02:00
<item name= "colorFabText" > #fafafa</item>
2015-06-25 19:24:02 +02:00
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "fabLabelBackgroundDrawable" > @drawable/fab_label_background</item>
2015-06-26 15:16:34 +02:00
<item name= "colorTabText" > #70ffffff</item>
<item name= "colorTabTextSelected" > #ffffff</item>
<item name= "colorTabIndicator" > #ffffff</item>
2015-06-25 19:24:02 +02:00
<item name= "colorEmphasis" > #2196f3</item>
2015-06-26 11:11:06 +02:00
<item name= "colorButtonRow" > #33cccccc</item>
2015-06-26 11:36:03 +02:00
<item name= "colorLogBackground" > #cecbce</item>
2015-06-26 14:08:26 +02:00
<item name= "colorCardViewBackground" > #ffffff</item>
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "cardViewHeaderDrawable" > @drawable/cardview_header</item>
2015-01-13 21:55:53 +01:00
2015-06-26 13:14:20 +02:00
<item name= "colorText" > #000000</item>
<item name= "colorHeaderText" > #212121</item>
<item name= "colorTertiaryText" > #808080</item>
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "sectionHeaderDrawable" > @drawable/section_header_light</item>
2015-06-26 13:14:20 +02:00
2015-06-25 15:17:32 +02:00
<!-- remove actionbar and title, we use toolbar! -->
<item name= "windowNoTitle" > true</item>
<item name= "windowActionBar" > false</item>
<!-- multi selection should overlay Toolbar! http://stackoverflow.com/a/26450875 -->
<item name= "windowActionModeOverlay" > true</item>
2015-08-12 17:09:07 +02:00
<item name= "searchViewStyle" > @style/Widget.Keychain.SearchView</item>
2015-08-12 17:00:09 +02:00
<!-- style dialogs -->
2015-08-18 11:19:50 +02:00
<item name= "alertDialogTheme" > @style/Theme.Keychain.Light.Dialog.Alert</item>
2015-06-25 15:17:32 +02:00
</style>
2015-08-12 17:09:07 +02:00
<style name= "Base.Theme.Keychain.Dark" parent= "MaterialDrawerTheme.ActionBar" >
2015-06-25 19:24:02 +02:00
<item name= "colorPrimary" > #268bd2</item>
<item name= "colorPrimaryDark" > #166bb2</item>
<item name= "colorAccent" > #2196f3</item>
2015-06-26 13:57:40 +02:00
<item name= "colorBrightToolbar" > #808080</item>
2015-06-25 19:24:02 +02:00
<item name= "colorFab" > #2196f3</item>
<item name= "colorFabPressed" > #1976d2</item>
2015-06-26 11:33:53 +02:00
<item name= "colorFabText" > #fafafa</item>
2015-06-25 19:24:02 +02:00
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "fabLabelBackgroundDrawable" > @drawable/fab_label_background</item>
2015-06-26 15:16:34 +02:00
<item name= "colorTabText" > #70ffffff</item>
<item name= "colorTabTextSelected" > #ffffff</item>
<item name= "colorTabIndicator" > #ffffff</item>
2015-06-25 19:24:02 +02:00
<item name= "colorEmphasis" > #2196f3</item>
2015-06-26 11:11:06 +02:00
<item name= "colorButtonRow" > #33cccccc</item>
2015-06-26 11:36:03 +02:00
<item name= "colorLogBackground" > #303030</item>
2015-06-26 14:08:26 +02:00
<item name= "colorCardViewBackground" > #505050</item>
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "cardViewHeaderDrawable" > @drawable/cardview_header</item>
2015-01-29 11:03:19 +01:00
2015-06-26 13:14:20 +02:00
<item name= "colorText" > #ffffff</item>
<item name= "colorHeaderText" > #d0d0d0</item>
<item name= "colorTertiaryText" > #808080</item>
2015-08-06 00:20:48 +05:30
<!-- using an attribute for color will crash on API <= 20. Different drawable xmls are necessary for each theme. Refer to http://stackoverflow.com/a/13471695/3000919 -->
<item name= "sectionHeaderDrawable" > @drawable/section_header_dark</item>
2015-06-26 13:14:20 +02:00
2015-07-04 18:48:18 +02:00
<item name= "material_drawer_selected_text" > #268bd2</item>
2015-04-26 01:28:29 +02:00
<!-- remove actionbar and title, we use toolbar! -->
2015-04-25 23:40:26 +02:00
<item name= "windowNoTitle" > true</item>
2015-01-13 21:55:53 +01:00
<item name= "windowActionBar" > false</item>
2015-02-22 23:52:29 +01:00
<!-- multi selection should overlay Toolbar! http://stackoverflow.com/a/26450875 -->
<item name= "windowActionModeOverlay" > true</item>
2015-08-12 17:09:07 +02:00
<item name= "searchViewStyle" > @style/Widget.Keychain.SearchView</item>
2015-08-12 17:00:09 +02:00
<!-- style dialogs -->
2015-08-18 11:19:50 +02:00
<item name= "alertDialogTheme" > @style/Theme.Keychain.Dark.Dialog.Alert</item>
2015-01-14 14:02:51 +01:00
</style>
2015-11-02 18:09:41 +01:00
<style name= "Theme.Keychain.Light" parent= "Base.Theme.Keychain.Light" > </style>
2015-06-25 15:17:32 +02:00
2015-11-02 18:09:41 +01:00
<style name= "Theme.Keychain.Dark" parent= "Base.Theme.Keychain.Dark" > </style>
2015-06-25 15:17:32 +02:00
2015-01-14 14:02:51 +01:00
<!-- http://android - developers.blogspot.de/2014/10/appcompat - v21 - material - design - for - pre.html -->
2015-08-12 17:09:07 +02:00
<style name= "Widget.Keychain.SearchView" parent= "Widget.AppCompat.SearchView" >
2015-01-14 14:02:51 +01:00
<!-- Background for the search query section (e.g. EditText) -->
<!-- <item name="queryBackground">...</item> -->
<!-- Background for the actions section (e.g. voice, submit) -->
<!-- <item name="submitBackground">...</item> -->
<!-- Close button icon -->
2015-01-26 00:50:35 +01:00
<item name= "closeIcon" > @drawable/ic_close_white_24dp</item>
2015-01-14 14:02:51 +01:00
<!-- Search button icon -->
<!-- <item name="searchIcon">...</item> -->
<!-- Go/commit button icon -->
<!-- <item name="goIcon">...</item> -->
<!-- Voice search button icon -->
<!-- <item name="voiceIcon">...</item> -->
<!-- Commit icon shown in the query suggestion row -->
<!-- <item name="commitIcon">...</item> -->
<!-- Layout for query suggestion rows -->
<!-- <item name="suggestionRowLayout">...</item> -->
2015-01-13 21:55:53 +01:00
</style>
2015-07-03 04:58:30 +02:00
2015-08-18 11:19:50 +02:00
<style name= "Theme.Keychain.Light.Dialog.Alert" parent= "Base.Theme.AppCompat.Light.Dialog.Alert" >
2015-08-12 17:00:09 +02:00
<item name= "colorAccent" > #7bad45</item>
</style>
2015-08-18 11:19:50 +02:00
<style name= "Theme.Keychain.Dark.Dialog.Alert" parent= "Base.Theme.AppCompat.Dialog.Alert" >
2015-08-12 17:00:09 +02:00
<item name= "colorAccent" > #268bd2</item>
</style>
2015-08-18 11:19:50 +02:00
<style name= "Theme.Keychain.Light.Dialog" parent= "Theme.AppCompat.Light.Dialog.MinWidth" >
<item name= "colorAccent" > #7bad45</item>
<item name= "android:buttonStyle" > @style/MaterialFlatButton</item>
2015-07-03 04:58:30 +02:00
<item name= "windowActionBar" > false</item>
<item name= "windowNoTitle" > true</item>
</style>
2015-08-12 20:25:58 +02:00
2015-08-18 11:19:50 +02:00
<style name= "Theme.Keychain.Dark.Dialog" parent= "Theme.AppCompat.Dialog.MinWidth" >
<item name= "colorAccent" > #268bd2</item>
<item name= "android:buttonStyle" > @style/MaterialFlatButton</item>
2015-08-12 20:25:58 +02:00
<item name= "windowActionBar" > false</item>
<item name= "windowNoTitle" > true</item>
</style>
2015-11-02 18:09:41 +01:00
2017-10-10 04:54:05 +02:00
<style name= "Theme.Keychain.AppCompat.Transparent" parent= "Theme.AppCompat.NoActionBar" >
<item name= "android:windowNoTitle" > true</item>
<item name= "android:windowBackground" > @android:color/transparent</item>
<item name= "android:colorBackgroundCacheHint" > @null</item>
<item name= "android:windowIsTranslucent" > true</item>
<item name= "android:windowFullscreen" > true</item>
<item name= "android:windowAnimationStyle" > @style/Animation.AppCompat.Dialog</item>
</style>
<style name= "Theme.Keychain.AppCompat.Transparent.Fullscreen" parent= "Theme.Keychain.AppCompat.Transparent" >
<item name= "android:windowFullscreen" > true</item>
</style>
2015-11-02 18:09:41 +01:00
<style name= "Theme.Keychain.Transparent" parent= "@android:style/Theme.NoDisplay" />
2015-06-25 15:17:32 +02:00
</resources>