2022-08-16 17:57:58 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2013-02-07 21:45:10 +04:00
|
|
|
ownCloud Android client application
|
|
|
|
|
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2015-03-05 15:27:45 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2019-06-10 23:28:37 +03:00
|
|
|
Copyright (C) 2019 Chris Narkiewicz <hello@ezaquarii.com>
|
2013-02-07 21:45:10 +04:00
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
2013-04-17 14:26:13 +04:00
|
|
|
it under the terms of the GNU General Public License version 2,
|
|
|
|
as published by the Free Software Foundation.
|
2013-02-07 21:45:10 +04:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
2013-06-14 18:59:38 +04:00
|
|
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- General ownCloud app style -->
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="BaseTheme.ownCloud" parent="Theme.Material3.DayNight">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
|
|
|
|
<item name="android:actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppTheme.PopupMenu</item>
|
2022-10-03 17:15:00 +03:00
|
|
|
<item name="actionModeStyle">@style/App.ActionMode</item>
|
2019-10-27 23:51:01 +03:00
|
|
|
<item name="alertDialogTheme">@style/ownCloud.AlertDialog</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="android:alertDialogTheme">@style/ownCloud.AlertDialog</item>
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="android:textColor">@color/text_color</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="android:textColorHint">@color/secondary_text_color</item>
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="android:textColorSecondary">@color/secondary_text_color</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="colorPrimary">@color/primary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="colorSecondary">@color/secondary_text_color</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="android:actionModeBackground">@color/action_mode_background</item>
|
|
|
|
<item name="android:datePickerDialogTheme">@style/FallbackDatePickerDialogTheme</item>
|
|
|
|
<item name="android:navigationBarColor">@color/bg_default</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2022-08-18 14:29:30 +03:00
|
|
|
<item name="dialogCornerRadius">@dimen/dialogBorderRadius</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-06 20:04:22 +03:00
|
|
|
|
2020-04-27 11:22:59 +03:00
|
|
|
<style name="Theme.ownCloud" parent="BaseTheme.ownCloud" />
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="FallbackThemingThemeBase" parent="Theme.Material3.DayNight">
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="actionModeBackground">@color/action_mode_background</item>
|
|
|
|
<item name="android:alertDialogTheme">@style/FallbackTheming.Dialog</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="android:textColor">@color/text_color</item>
|
|
|
|
<item name="android:textColorSecondary">@color/secondary_text_color</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2020-04-24 18:08:51 +03:00
|
|
|
<item name="colorSecondary">@color/secondary_text_color</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="dialogTheme">@style/FallbackTheming.Dialog</item>
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="android:actionModeBackground">@color/action_mode_background</item>
|
|
|
|
<item name="android:datePickerDialogTheme">@style/FallbackDatePickerDialogTheme</item>
|
|
|
|
<item name="android:navigationBarColor">@color/bg_default</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2022-08-18 14:29:30 +03:00
|
|
|
<item name="dialogCornerRadius">@dimen/dialogBorderRadius</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2017-06-20 12:23:49 +03:00
|
|
|
|
2020-04-24 18:08:51 +03:00
|
|
|
<style name="FallbackThemingTheme" parent="FallbackThemingThemeBase" />
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Widget.App.TextInputLayout" parent="Widget.Material3.TextInputLayout.OutlinedBox">
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.App.TextInputLayout</item>
|
|
|
|
<item name="hintTextColor">?attr/colorOnSurface</item>
|
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="ThemeOverlay.App.TextInputLayout" parent="ThemeOverlay.Material3.TextInputEditText.OutlinedBox">
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="colorPrimary">@color/text_color</item>
|
|
|
|
<item name="colorOnSurface">@color/text_color</item>
|
|
|
|
<item name="colorError">@color/hwSecurityRed</item>
|
|
|
|
<item name="editTextStyle">@style/Widget.MaterialComponents.TextInputEditText.OutlinedBox</item>
|
|
|
|
</style>
|
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<style name="TextInputLayoutInputWarning" parent="Widget.App.TextInputLayout">
|
2021-11-24 23:11:06 +03:00
|
|
|
<item name="colorError">@color/primary</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="FallbackDatePickerDialogTheme" parent="Theme.Material3.DayNight.Dialog">
|
2019-05-05 16:48:12 +03:00
|
|
|
<item name="colorPrimary">@color/bg_default</item>
|
2021-12-09 16:36:01 +03:00
|
|
|
<item name="colorAccent">@color/bg_fallback_highlight</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2019-05-05 16:48:12 +03:00
|
|
|
<item name="android:textColor">@color/fg_inverse</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
<item name="android:datePickerStyle">@style/DatePickerStyle</item>
|
|
|
|
</style>
|
|
|
|
|
2021-12-09 16:36:01 +03:00
|
|
|
<style name="DatePickerStyle">
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:headerBackground">@color/bg_fallback_highlight</item>
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="android:datePickerMode">calendar</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2018-05-29 09:31:50 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="FallbackTheming.Dialog" parent="Theme.Material3.DayNight.Dialog">
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="colorPrimary">#424242</item>
|
|
|
|
<item name="colorPrimaryDark">#212121</item>
|
|
|
|
<item name="colorAccent">#757575</item>
|
|
|
|
<item name="windowNoTitle">false</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2020-07-08 18:42:19 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2020-12-17 17:25:00 +03:00
|
|
|
<item name="android:buttonBarButtonStyle">@style/FallbackTheming.Dialog.ButtonStyle</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
2018-03-21 12:34:02 +03:00
|
|
|
|
2022-08-16 17:57:58 +03:00
|
|
|
<style name="FallbackTheming.Dialog.ButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
|
2020-12-17 17:43:50 +03:00
|
|
|
<item name="android:textColor">@color/text_color</item>
|
2020-12-17 17:25:00 +03:00
|
|
|
</style>
|
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- separate action bar style for activities without an action bar -->
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="BaseTheme.ownCloud.Toolbar" parent="Theme.Material3.DayNight.NoActionBar">
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="alertDialogTheme">@style/ownCloud.AlertDialog</item>
|
|
|
|
<item name="android:alertDialogTheme">@style/Theme.ownCloud.Dialog</item>
|
2020-05-15 17:11:34 +03:00
|
|
|
<item name="android:colorBackground">@color/bg_default</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="colorPrimary">@color/primary</item>
|
2020-07-16 13:54:31 +03:00
|
|
|
<item name="colorPrimaryDark">@color/primary</item>
|
2020-04-27 11:22:59 +03:00
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowActionModeOverlay">true</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2022-10-03 14:42:44 +03:00
|
|
|
<item name="popupMenuStyle">@style/Nextcloud.Widget.PopupMenu</item>
|
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.App.BottomSheetDialog</item>
|
2022-10-03 17:15:00 +03:00
|
|
|
<item name="actionModeStyle">@style/App.ActionMode</item>
|
2013-06-14 18:59:38 +04:00
|
|
|
</style>
|
2015-05-25 13:39:05 +03:00
|
|
|
|
2020-11-27 02:00:15 +03:00
|
|
|
<style name="Theme.ownCloud.ToolbarBase" parent="BaseTheme.ownCloud.Toolbar">
|
|
|
|
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
|
|
|
<item name="android:navigationBarColor">@color/bg_default</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="Theme.ownCloud.Toolbar" parent="Theme.ownCloud.ToolbarBase" />
|
|
|
|
|
|
|
|
<style name="Theme.ownCloud.Toolbar.DrawerBase" parent="Theme.ownCloud.Toolbar">
|
|
|
|
<item name="android:statusBarColor">@android:color/transparent</item>
|
|
|
|
</style>
|
2020-04-27 11:22:59 +03:00
|
|
|
|
2020-11-27 02:00:15 +03:00
|
|
|
<style name="Theme.ownCloud.Toolbar.Drawer" parent="Theme.ownCloud.Toolbar.DrawerBase">
|
|
|
|
<item name="android:navigationBarColor">@color/bg_default</item>
|
|
|
|
</style>
|
2016-03-24 00:51:37 +03:00
|
|
|
|
2020-06-15 17:23:30 +03:00
|
|
|
<style name="Theme.ownCloud.noActionBar.LoginBase" parent="Theme.ownCloud.Toolbar">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="android:windowBackground">@color/primary</item>
|
2020-02-03 08:08:05 +03:00
|
|
|
<item name="colorControlNormal">@color/login_text_color</item>
|
|
|
|
<item name="colorControlActivated">@color/login_text_color</item>
|
|
|
|
<item name="colorControlHighlight">@color/login_text_color</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="colorAccent">@color/login_text_hint_color</item>
|
|
|
|
<item name="android:textColorHint">@color/login_text_hint_color</item>
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="android:navigationBarColor">@color/primary</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
2015-08-12 20:12:56 +03:00
|
|
|
|
2020-06-18 12:02:52 +03:00
|
|
|
<style name="Theme.ownCloud.noActionBar.Login" parent="Theme.ownCloud.noActionBar.LoginBase" />
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="ownCloud.AlertDialog" parent="Theme.Material3.DayNight.Dialog.Alert">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-14 16:29:22 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="ownCloud.Dialog" parent="Theme.Material3.DayNight.Dialog">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ProgressDialogTheme" parent="ownCloud.Dialog">
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2022-10-04 13:02:57 +03:00
|
|
|
<item name="android:textColor">@color/login_text_color</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="android:windowFrame">@color/transparent</item>
|
|
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
|
|
<item name="android:windowTitleBackgroundStyle">@drawable/process_dialog_background</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ownCloud.SearchView" parent="Widget.AppCompat.SearchView">
|
|
|
|
<!-- Close button icon -->
|
|
|
|
<item name="closeIcon">@drawable/ic_close</item>
|
|
|
|
<!-- Search button icon -->
|
|
|
|
<item name="searchIcon">@drawable/ic_search_grey</item>
|
|
|
|
<!-- Layout for query suggestion rows // unused for now, staying with the standard layout -->
|
|
|
|
<!--<item name="suggestionRowLayout">...</item>-->
|
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Button" parent="Widget.Material3.Button.UnelevatedButton">
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="colorButtonNormal">@color/secondary_button_background_color</item>
|
|
|
|
<item name="android:textColor">@color/secondary_button_text_color</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2015-08-12 19:54:27 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="OutlinedButton" parent="Widget.Material3.Button.OutlinedButton">
|
2018-12-12 17:22:31 +03:00
|
|
|
<item name="colorAccent">@color/transparent</item>
|
|
|
|
<item name="android:textColor">@color/primary_dark</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
2018-12-12 17:22:31 +03:00
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="OutlineLoginButton" parent="Widget.Material3.Button.OutlinedButton">
|
2019-01-12 17:42:27 +03:00
|
|
|
<item name="colorAccent">@color/transparent</item>
|
2019-09-20 12:44:48 +03:00
|
|
|
<item name="android:textColor">@color/fg_inverse</item>
|
2019-01-12 17:42:27 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="strokeColor">@color/login_btn_stroke</item>
|
2019-01-12 17:42:27 +03:00
|
|
|
</style>
|
|
|
|
|
2020-11-18 17:27:38 +03:00
|
|
|
<style name="Button.Primary" parent="Button">
|
|
|
|
<item name="colorButtonNormal">@color/primary_button_background_color</item>
|
|
|
|
<item name="android:textColor">@color/primary_button_text_color</item>
|
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2015-08-07 18:09:47 +03:00
|
|
|
|
2020-11-18 17:27:38 +03:00
|
|
|
<style name="Button.Login" parent="Button">
|
|
|
|
<item name="colorButtonNormal">@color/login_btn_tint</item>
|
2019-09-20 12:44:48 +03:00
|
|
|
<item name="colorAccent">@color/login_btn_tint</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:textColor">@color/primary_dark</item>
|
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2016-06-26 23:59:28 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Button.Borderless" parent="Widget.Material3.Button.TextButton">
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:textColor">@drawable/borderless_btn</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2015-08-13 16:41:59 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Button.Borderless.Destructive" parent="Widget.Material3.Button.TextButton">
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:textColor">@color/highlight_textColor_Warning</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2017-05-30 18:32:31 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Button.Borderless.Login" parent="Widget.Material3.Button.TextButton">
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:textColor">@color/fg_inverse</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2020-11-18 17:27:38 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2016-09-27 01:32:46 +03:00
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- separate translucent action bar style -->
|
|
|
|
<style name="Theme.ownCloud.OverlayBase" parent="Theme.ownCloud">
|
|
|
|
<item name="android:actionBarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
|
|
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
|
|
<item name="android:windowFullscreen">true</item>
|
|
|
|
<!-- Support library compatibility -->
|
|
|
|
<item name="actionBarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
|
|
|
|
<item name="windowActionBarOverlay">true</item>
|
|
|
|
</style>
|
2015-08-06 20:04:22 +03:00
|
|
|
|
2020-11-27 02:00:15 +03:00
|
|
|
<style name="Theme.ownCloud.Overlay" parent="Theme.ownCloud.OverlayBase">
|
|
|
|
<item name="android:navigationBarColor">@color/black</item>
|
2022-10-05 12:31:25 +03:00
|
|
|
<item name="toolbarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
|
|
|
|
<item name="actionOverflowButtonStyle">@style/ToolbarStyle.Overflow</item>
|
2022-11-14 18:21:54 +03:00
|
|
|
<item name="bottomSheetDialogTheme">@style/ThemeOverlay.App.BottomSheetDialog</item>
|
2020-11-27 02:00:15 +03:00
|
|
|
</style>
|
2020-06-08 11:28:53 +03:00
|
|
|
|
2022-02-15 17:04:16 +03:00
|
|
|
<style name="Theme.ownCloud.OverlayGrey" parent="Theme.ownCloud.OverlayBase">
|
|
|
|
<item name="android:navigationBarColor">@color/grey_400</item>
|
|
|
|
<item name="android:background">@color/grey_400</item>
|
|
|
|
<item name="android:windowBackground">@color/grey_400</item>
|
|
|
|
<item name="android:colorBackground">@color/grey_400</item>
|
|
|
|
</style>
|
|
|
|
|
2022-10-05 12:31:25 +03:00
|
|
|
<style name="ToolbarStyle.Overflow" parent="@style/Widget.AppCompat.ActionButton.Overflow">
|
|
|
|
<item name="android:tint">@android:color/white</item>
|
|
|
|
</style>
|
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- ACTION BAR STYLES -->
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Theme.ownCloud.Overlay.ActionBar" parent="@style/Widget.Material3.Toolbar">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="android:background">@color/color_transparent</item>
|
|
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
|
|
<!-- Support library compatibility -->
|
|
|
|
<item name="background">@color/color_transparent</item>
|
|
|
|
<item name="windowActionBarOverlay">true</item>
|
2022-10-05 12:31:25 +03:00
|
|
|
<item name="titleTextColor">@color/white</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
2015-08-06 20:04:22 +03:00
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- Launch screen -->
|
|
|
|
<style name="Theme.ownCloud.Launcher">
|
2020-11-27 02:00:15 +03:00
|
|
|
<item name="android:statusBarColor">@color/primary</item>
|
|
|
|
<item name="android:navigationBarColor">@color/primary</item>
|
|
|
|
<item name="android:windowBackground">@drawable/launch_screen</item>
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="android:textColorHint">@color/secondary_text_color</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
2018-04-09 22:58:10 +03:00
|
|
|
|
2022-08-16 17:57:58 +03:00
|
|
|
<style name="Theme.ownCloud.Widget.ActionBar" parent="@style/Theme.MaterialComponents.Light.DarkActionBar.Bridge">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="android:background">@color/primary</item>
|
|
|
|
<item name="background">@color/primary</item>
|
|
|
|
<item name="android:textColor">@color/text_color</item>
|
|
|
|
<item name="android:shadowColor">@color/actionbar_shadow</item>
|
|
|
|
<item name="android:shadowRadius">1</item>
|
|
|
|
<item name="android:shadowDy">1</item>
|
|
|
|
<item name="android:backgroundSplit">@drawable/split_action_bg</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- Dialogs -->
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog" parent="@style/Theme.Material3.DayNight.Dialog.Alert">
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="windowNoTitle">false</item>
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2020-07-08 18:42:19 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2021-02-16 21:00:27 +03:00
|
|
|
<item name="textInputStyle">@style/Widget.App.TextInputLayout</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-06 18:13:00 +03:00
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog.NoTitle" parent="@style/Theme.ownCloud.Dialog">
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
</style>
|
2016-03-21 21:43:18 +03:00
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<style name="NavigationView_ItemTextAppearance">
|
|
|
|
<item name="android:ellipsize">end</item>
|
|
|
|
<item name="android:listDivider">@color/transparent</item>
|
2020-03-10 13:18:11 +03:00
|
|
|
<!-- Color of text and icon when selected -->
|
|
|
|
<item name="colorPrimary">@color/drawer_active_item_background</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
</style>
|
2016-04-06 22:15:47 +03:00
|
|
|
|
2018-10-26 10:36:06 +03:00
|
|
|
<style name="PassCodeStyle">
|
2012-07-09 13:11:44 +04:00
|
|
|
<item name="android:layout_width">50dp</item>
|
|
|
|
<item name="android:layout_height">50dp</item>
|
2021-11-18 21:59:39 +03:00
|
|
|
<item name="android:gravity">center</item>
|
|
|
|
<item name="android:layout_margin">10dp</item>
|
|
|
|
<item name="android:inputType">numberDecimal</item>
|
|
|
|
<item name="android:numeric">decimal</item>
|
|
|
|
<item name="android:digits">1234567890</item>
|
|
|
|
<item name="android:maxLength">1</item>
|
|
|
|
<item name="android:password">true</item>
|
|
|
|
<item name="android:maxLines">1</item>
|
2021-02-16 21:25:27 +03:00
|
|
|
<item name="colorPrimary">@color/text_color</item>
|
2012-07-09 13:11:44 +04:00
|
|
|
</style>
|
2018-10-26 10:36:06 +03:00
|
|
|
|
2015-10-14 13:58:07 +03:00
|
|
|
<style name="Theme.ownCloud.NoActionBar">
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
</style>
|
2016-09-18 18:49:51 +03:00
|
|
|
|
2022-11-18 11:49:14 +03:00
|
|
|
<style name="Theme.NoBackground" parent="Theme.ownCloud.Toolbar">
|
|
|
|
<item name="android:windowIsTranslucent">true</item>
|
|
|
|
<item name="android:windowBackground">@android:color/transparent</item>
|
|
|
|
<item name="android:windowContentOverlay">@null</item>
|
|
|
|
<item name="android:windowNoTitle">true</item>
|
|
|
|
<item name="android:windowIsFloating">true</item>
|
|
|
|
<item name="android:backgroundDimEnabled">false</item>
|
|
|
|
</style>
|
|
|
|
|
2021-11-18 21:59:39 +03:00
|
|
|
<!-- Text styles -->
|
|
|
|
<style name="NextcloudTextAppearanceHeadline" parent="@style/TextAppearance.AppCompat.Headline">
|
|
|
|
<item name="android:textSize">26sp</item>
|
|
|
|
<item name="android:textColor">@color/text_color</item>
|
|
|
|
</style>
|
2022-08-16 17:57:58 +03:00
|
|
|
|
|
|
|
<style name="NextcloudTextAppearanceMedium" parent="@style/TextAppearance.AppCompat.Medium"></style>
|
2018-05-03 19:24:00 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Widget.App.Login.TextInputLayout" parent="Widget.Material3.TextInputLayout.OutlinedBox">
|
2021-02-11 14:50:53 +03:00
|
|
|
<item name="materialThemeOverlay">@style/ThemeOverlay.App.Login.TextInputLayout</item>
|
|
|
|
<item name="shapeAppearance">@style/ShapeAppearance.MaterialComponents.SmallComponent</item>
|
|
|
|
<item name="hintTextColor">?attr/colorOnSurface</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.App.Login.TextInputLayout" parent="">
|
|
|
|
<item name="colorPrimary">@color/white</item>
|
|
|
|
<item name="colorOnSurface">@color/white</item>
|
|
|
|
<item name="colorError">@color/hwSecurityRed</item>
|
|
|
|
<item name="textAppearanceSubtitle1">@style/TextAppearance.MaterialComponents.Subtitle1</item>
|
|
|
|
<item name="textAppearanceCaption">@style/TextAppearance.MaterialComponents.Caption</item>
|
|
|
|
<item name="editTextStyle">@style/Widget.MaterialComponents.TextInputEditText.OutlinedBox</item>
|
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="TextInputLayoutLogin" parent="Widget.Material3.TextInputLayout.OutlinedBox">
|
2021-02-11 14:50:53 +03:00
|
|
|
<item name="boxStrokeColor">@color/white</item>
|
|
|
|
<item name="boxStrokeErrorColor">@color/white</item>
|
|
|
|
<item name="hintTextAppearance">@style/HintTextLogin</item>
|
|
|
|
<item name="errorTextAppearance">@style/HintTextLogin</item>
|
|
|
|
<item name="android:colorPrimary">@color/white</item>
|
|
|
|
<!-- Theme attributes -->
|
|
|
|
<item name="android:textColorHint">#80FFFFFF</item>
|
|
|
|
<item name="colorControlNormal">@color/white</item>
|
|
|
|
<item name="colorControlActivated">@color/white</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="HintTextLogin" parent="TextAppearance.AppCompat">
|
|
|
|
<item name="android:textColor">@color/white</item>
|
|
|
|
</style>
|
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="ThemeOverlay.AppTheme.PopupMenu" parent="ThemeOverlay.Material3.Dark">
|
2018-09-03 22:15:21 +03:00
|
|
|
<!-- popup menu background - NEVER "android:background" !!! in themes -->
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:colorBackground">@color/bg_default</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<!-- popup menu item text color -->
|
2019-10-30 18:13:29 +03:00
|
|
|
<item name="android:textColorPrimary">@color/text_color</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
</style>
|
2019-06-10 23:28:37 +03:00
|
|
|
|
2022-10-03 14:42:44 +03:00
|
|
|
<style name="Nextcloud.Widget.PopupMenu" parent="@style/Widget.Material3.PopupMenu">
|
|
|
|
<item name="popupMenuBackground">@color/bg_default</item>
|
2022-04-22 13:14:20 +03:00
|
|
|
</style>
|
|
|
|
|
2022-10-03 14:42:44 +03:00
|
|
|
<style name="Theme.ToolbarTheme" parent="@style/ThemeOverlay.Material3.Dark.ActionBar">
|
2022-04-22 13:14:20 +03:00
|
|
|
<item name="android:textColor">@color/menu_item_text_color</item>
|
2022-10-03 14:42:44 +03:00
|
|
|
<item name="actionOverflowMenuStyle">@style/OverflowMenuStyle</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="OverflowMenuStyle" parent="Widget.Material3.PopupMenu.Overflow">
|
|
|
|
<item name="android:popupBackground">@color/bg_default</item>
|
2022-04-21 19:00:43 +03:00
|
|
|
</style>
|
|
|
|
|
2019-06-10 23:28:37 +03:00
|
|
|
<style name="MaterialListItemSingleLine">
|
|
|
|
<item name="android:clickable">true</item>
|
|
|
|
<item name="android:background">?android:selectableItemBackground</item>
|
|
|
|
<item name="android:paddingLeft">16dp</item>
|
|
|
|
<item name="android:paddingRight">16dp</item>
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">48dp</item>
|
|
|
|
<item name="android:gravity">center_vertical</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="MaterialListItemPrimaryAction">
|
|
|
|
<item name="tint">?android:attr/textColorSecondary</item>
|
|
|
|
<item name="android:layout_width">32dp</item>
|
|
|
|
<item name="android:layout_height">32dp</item>
|
|
|
|
<item name="android:layout_marginRight">16dp</item>
|
|
|
|
<item name="android:scaleType">fitCenter</item>
|
|
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="MaterialListItemSecondaryAction">
|
|
|
|
<item name="tint">?android:attr/textColorSecondary</item>
|
|
|
|
<item name="android:layout_width">24dp</item>
|
|
|
|
<item name="android:layout_height">24dp</item>
|
|
|
|
<item name="android:layout_marginLeft">16dp</item>
|
|
|
|
<item name="android:scaleType">fitCenter</item>
|
|
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
|
|
</style>
|
2020-04-30 17:28:26 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Widget.AppTheme.Button.IconButton" parent="Widget.Material3.Button.TextButton">
|
2020-04-30 17:28:26 +03:00
|
|
|
<item name="android:minWidth">0dp</item>
|
|
|
|
<item name="android:insetLeft">0dp</item>
|
|
|
|
<item name="android:insetTop">0dp</item>
|
|
|
|
<item name="android:insetRight">0dp</item>
|
|
|
|
<item name="android:insetBottom">0dp</item>
|
|
|
|
<item name="iconGravity">textStart</item>
|
|
|
|
<item name="iconPadding">0dp</item>
|
|
|
|
</style>
|
2020-06-30 20:34:17 +03:00
|
|
|
|
|
|
|
<!-- Custom colors for the FIDO dialog -->
|
|
|
|
<style name="FidoDialog" parent="HwSecurity.Dialog">
|
|
|
|
<item name="hwSecurityButtonColor">@color/color_accent</item>
|
|
|
|
<item name="hwSecuritySurfaceColor">@color/primary</item>
|
|
|
|
</style>
|
2020-11-18 12:22:01 +03:00
|
|
|
|
2022-08-18 14:29:30 +03:00
|
|
|
<style name="Nextcloud.Material.TextButton" parent="Widget.Material3.Button.TextButton.Icon">
|
2020-11-18 12:22:01 +03:00
|
|
|
<item name="android:typeface">sans</item>
|
|
|
|
<item name="android:textStyle">bold</item>
|
|
|
|
</style>
|
2021-12-08 10:43:42 +03:00
|
|
|
|
2022-02-21 19:35:13 +03:00
|
|
|
<style name="FullScreenExoControlButton" parent="ExoStyledControls.Button.Center">
|
|
|
|
<item name="android:background">@drawable/ripple</item>
|
2021-12-08 10:43:42 +03:00
|
|
|
</style>
|
2022-02-21 19:35:13 +03:00
|
|
|
|
2022-08-16 17:57:58 +03:00
|
|
|
<style name="Widget.Nextcloud.AppWidget.Container" parent="android:Widget">
|
|
|
|
<item name="android:id">@android:id/background</item>
|
|
|
|
<item name="android:background">?android:attr/colorBackground</item>
|
|
|
|
</style>
|
2022-09-13 01:44:26 +03:00
|
|
|
|
|
|
|
<style name="PreferenceTheme" parent="FallbackThemingTheme">
|
|
|
|
<item name="android:colorBackground">@color/bg_default</item>
|
2022-10-13 15:28:40 +03:00
|
|
|
<item name="android:listDivider">@null</item>
|
2022-09-13 01:44:26 +03:00
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2022-10-03 14:42:44 +03:00
|
|
|
<style name="ThemeOverlay.App.BottomSheetDialog" parent="@style/ThemeOverlay.MaterialComponents.BottomSheetDialog">
|
|
|
|
<item name="bottomSheetStyle">@style/App.BottomSheetDialog</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="App.BottomSheetDialog" parent="Widget.MaterialComponents.BottomSheet.Modal">
|
|
|
|
<item name="backgroundTint">@color/bg_default</item>
|
|
|
|
</style>
|
|
|
|
|
2022-10-03 17:15:00 +03:00
|
|
|
<style name="App.ActionMode" parent="@style/Widget.Material3.ActionMode">
|
|
|
|
<item name="background">@color/action_mode_background</item>
|
|
|
|
<item name="titleTextStyle">@style/App.ActionModeTitleText</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="App.ActionModeTitleText" parent="TextAppearance.Material3.ActionBar.Title">
|
|
|
|
<item name="android:textColor">@color/white</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
2022-09-13 01:44:26 +03:00
|
|
|
|
2021-12-08 10:43:42 +03:00
|
|
|
</resources>
|