2011-08-20 00:37:35 +04: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">
|
2013-08-21 20:51:13 +04:00
|
|
|
<!-- General ownCloud app style -->
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="Theme.ownCloud" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
2012-04-10 06:40:53 +04:00
|
|
|
<item name="android:actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
|
|
|
|
<item name="actionBarStyle">@style/Theme.ownCloud.Widget.ActionBar</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="actionModeBackground">@color/action_mode_background</item>
|
|
|
|
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppTheme.PopupMenu</item>
|
|
|
|
<item name="colorPrimary">@color/primary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="android:alertDialogTheme">@style/ownCloud.AlertDialog</item>
|
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
|
|
|
<item name="colorSecondary">@color/textColor</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-06 20:04:22 +03:00
|
|
|
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="FallbackThemingTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
|
2017-07-11 12:49:27 +03:00
|
|
|
<item name="colorPrimary">#424242</item>
|
|
|
|
<item name="colorPrimaryDark">#212121</item>
|
2017-06-20 12:23:49 +03:00
|
|
|
<item name="colorAccent">#757575</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:alertDialogTheme">@style/FallbackTheming.Dialog</item>
|
|
|
|
<item name="dialogTheme">@style/FallbackTheming.Dialog</item>
|
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
<item name="android:datePickerDialogTheme">@style/FallbackDatePickerDialogTheme</item>
|
|
|
|
</style>
|
2017-06-20 12:23:49 +03:00
|
|
|
|
2019-02-10 18:30:10 +03:00
|
|
|
<style name="FallbackDatePickerDialogTheme" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
|
|
|
|
<!-- TODO change these reference names -->
|
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>
|
|
|
|
<item name="android:textColor">@color/textColor_inverse</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
<item name="android:datePickerStyle">@style/DatePickerStyle</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="colorControlHighlight">@color/bg_fallback_highlight</item>
|
|
|
|
<item name="colorControlActivated">@color/bg_fallback_highlight</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
|
|
|
|
2019-02-10 18:30:10 +03:00
|
|
|
<style name="DatePickerStyle" parent="">
|
|
|
|
<item name="android:headerBackground">@color/bg_fallback_highlight</item>
|
|
|
|
<!-- TODO for < API21 -->
|
2019-01-25 18:28:30 +03:00
|
|
|
<item name="android:datePickerMode">calendar</item>
|
|
|
|
</style>
|
2018-05-29 09:31:50 +03:00
|
|
|
|
2019-02-10 18:30:10 +03:00
|
|
|
<style name="FallbackTheming.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog">
|
2018-03-21 12:34:02 +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>
|
2018-03-21 12:34:02 +03:00
|
|
|
</style>
|
|
|
|
|
2019-01-25 18:28:30 +03:00
|
|
|
<!-- separate action bar style for activities without an action bar -->
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="Theme.ownCloud.Toolbar" parent="Theme.MaterialComponents.DayNight.NoActionBar">
|
2015-07-26 02:49:27 +03:00
|
|
|
<item name="windowNoTitle">true</item>
|
|
|
|
<item name="windowActionBar">false</item>
|
|
|
|
<item name="colorPrimary">@color/primary</item>
|
|
|
|
<item name="colorPrimaryDark">@color/primary_dark</item>
|
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2015-08-06 18:13:00 +03:00
|
|
|
<item name="android:alertDialogTheme">@style/Theme.ownCloud.Dialog</item>
|
2015-08-14 16:29:22 +03:00
|
|
|
<item name="alertDialogTheme">@style/ownCloud.AlertDialog</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2016-03-21 19:47:01 +03:00
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2016-07-18 18:38:02 +03:00
|
|
|
<item name="windowActionModeOverlay">true</item>
|
2013-06-14 18:59:38 +04:00
|
|
|
</style>
|
2015-05-25 13:39:05 +03:00
|
|
|
|
2016-03-24 00:51:37 +03:00
|
|
|
<!-- separate style for Drawer activities needed for v21+ theming -->
|
2016-04-05 23:26:49 +03:00
|
|
|
<style name="Theme.ownCloud.Toolbar.Drawer" parent="Theme.ownCloud.Toolbar">
|
2016-03-24 00:51:37 +03:00
|
|
|
</style>
|
|
|
|
|
2016-03-23 17:47:06 +03:00
|
|
|
<style name="Theme.ownCloud.noActionBar.Login" parent="Theme.ownCloud.Toolbar">
|
2016-06-26 23:59:28 +03:00
|
|
|
<item name="android:windowBackground">@color/primary</item>
|
|
|
|
<item name="colorControlNormal">@color/login_text_hint_color</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="colorControlActivated">@color/login_asset</item>
|
2016-06-26 23:59:28 +03:00
|
|
|
<item name="colorControlHighlight">@color/login_text_hint_color</item>
|
|
|
|
<item name="colorAccent">@color/login_text_hint_color</item>
|
|
|
|
<item name="android:textColorHint">@color/login_text_hint_color</item>
|
2015-08-12 20:12:56 +03:00
|
|
|
</style>
|
|
|
|
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="ownCloud.AlertDialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert">
|
2015-08-14 16:29:22 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="android:textColorPrimary">@color/primary</item>
|
2016-03-21 19:47:01 +03:00
|
|
|
<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>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-14 16:29:22 +03:00
|
|
|
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="ownCloud.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog">
|
2015-10-19 16:15:00 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2016-03-21 19:47:01 +03:00
|
|
|
<item name="searchViewStyle">@style/ownCloud.SearchView</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2015-10-19 16:15:00 +03:00
|
|
|
</style>
|
2015-08-14 16:29:22 +03:00
|
|
|
|
2015-08-18 14:08:58 +03:00
|
|
|
<style name="ProgressDialogTheme" parent="ownCloud.Dialog">
|
2015-08-18 23:09:53 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
|
|
|
<item name="android:textColorPrimary">@color/primary</item>
|
|
|
|
<item name="android:windowFrame">@color/transparent</item>
|
|
|
|
<item name="android:windowBackground">@color/transparent</item>
|
|
|
|
<item name="android:windowTitleBackgroundStyle">@drawable/process_dialog_background</item>
|
2015-08-18 14:08:58 +03:00
|
|
|
</style>
|
|
|
|
|
2016-03-21 19:47:01 +03:00
|
|
|
<style name="ownCloud.SearchView" parent="Widget.AppCompat.SearchView">
|
|
|
|
<!-- Close button icon -->
|
|
|
|
<item name="closeIcon">@drawable/ic_close</item>
|
|
|
|
<!-- Search button icon -->
|
2016-07-28 15:51:38 +03:00
|
|
|
<item name="searchIcon">@drawable/ic_search_grey</item>
|
2016-03-21 19:47:01 +03:00
|
|
|
<!-- Layout for query suggestion rows // unused for now, staying with the standard layout -->
|
|
|
|
<!--<item name="suggestionRowLayout">...</item>-->
|
|
|
|
</style>
|
|
|
|
|
2018-12-20 14:51:18 +03:00
|
|
|
<style name="Button" parent="Widget.MaterialComponents.Button.UnelevatedButton">
|
2015-12-22 19:22:24 +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>
|
2015-08-12 19:54:27 +03:00
|
|
|
</style>
|
|
|
|
|
2018-12-12 17:22:31 +03:00
|
|
|
<style name="OutlinedButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
|
|
|
<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>
|
2018-12-12 17:22:31 +03:00
|
|
|
</style>
|
|
|
|
|
2019-01-12 17:42:27 +03:00
|
|
|
<style name="OutlineLogindButton" parent="Widget.MaterialComponents.Button.OutlinedButton">
|
|
|
|
<item name="colorAccent">@color/transparent</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</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>
|
|
|
|
|
2015-08-12 19:54:27 +03:00
|
|
|
<style name="Button.Primary" parent="Button">
|
2015-12-22 19:22:24 +03:00
|
|
|
<item name="colorButtonNormal">@color/primary_button_background_color</item>
|
|
|
|
<item name="android:textColor">@color/primary_button_text_color</item>
|
2015-08-07 18:09:47 +03:00
|
|
|
</style>
|
|
|
|
|
2016-06-26 23:59:28 +03:00
|
|
|
<style name="Button.Login" parent="Button">
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="colorButtonNormal">@color/textColor</item>
|
|
|
|
<item name="colorAccent">@color/textColor</item>
|
2018-05-03 19:24:00 +03:00
|
|
|
<item name="android:textColor">@color/primary_dark</item>
|
2016-06-26 23:59:28 +03:00
|
|
|
</style>
|
|
|
|
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Button.Borderless" parent="Widget.MaterialComponents.Button.TextButton">
|
2017-06-07 22:49:47 +03:00
|
|
|
<item name="android:textColor">@drawable/borderless_btn</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2015-08-13 16:41:59 +03:00
|
|
|
</style>
|
|
|
|
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Button.Borderless.Destructive" parent="Widget.MaterialComponents.Button.TextButton">
|
2017-05-30 18:32:31 +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>
|
2017-05-30 18:32:31 +03:00
|
|
|
</style>
|
|
|
|
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Button.Borderless.Login" parent="Widget.MaterialComponents.Button.TextButton">
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
2018-12-28 16:45:37 +03:00
|
|
|
<item name="android:textAllCaps">false</item>
|
2016-09-27 01:32:46 +03:00
|
|
|
</style>
|
|
|
|
|
2015-08-06 20:04:22 +03:00
|
|
|
<!-- separat translucent action bar style -->
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="Theme.ownCloud.Overlay" parent="@style/Theme.ownCloud">
|
2015-08-06 20:04:22 +03:00
|
|
|
<item name="android:actionBarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
|
2017-02-13 22:08:25 +03:00
|
|
|
<item name="android:windowActionBarOverlay">true</item>
|
|
|
|
<item name="android:windowFullscreen">true</item>
|
2015-08-06 20:04:22 +03:00
|
|
|
<!-- Support library compatibility -->
|
|
|
|
<item name="actionBarStyle">@style/Theme.ownCloud.Overlay.ActionBar</item>
|
2017-02-13 22:08:25 +03:00
|
|
|
<item name="windowActionBarOverlay">true</item>
|
2015-08-06 20:04:22 +03:00
|
|
|
</style>
|
|
|
|
|
|
|
|
<!-- ACTION BAR STYLES -->
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Theme.ownCloud.Overlay.ActionBar" parent="@style/Widget.MaterialComponents.Toolbar">
|
2017-04-13 01:51:07 +03:00
|
|
|
<item name="android:background">@color/color_transparent</item>
|
2017-02-13 21:42:31 +03:00
|
|
|
<item name="android:windowActionBarOverlay">true</item>
|
2015-08-06 20:04:22 +03:00
|
|
|
<!-- Support library compatibility -->
|
2017-04-13 10:41:01 +03:00
|
|
|
<item name="background">@color/color_transparent</item>
|
2015-08-06 20:04:22 +03:00
|
|
|
<item name="windowActionBarOverlay">true</item>
|
|
|
|
</style>
|
|
|
|
|
2018-04-09 22:58:10 +03:00
|
|
|
<!-- Launch screen -->
|
|
|
|
<style name="Theme.ownCloud.Launcher">
|
|
|
|
<item name="android:windowBackground">@drawable/launch_screen</item>
|
|
|
|
</style>
|
|
|
|
|
2015-07-26 18:52:29 +03:00
|
|
|
<!-- Progress bar -->
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="Widget.ownCloud.TopProgressBar" parent="@style/Widget.AppCompat.ProgressBar.Horizontal">
|
2015-07-26 18:52:29 +03:00
|
|
|
<item name="android:progressDrawable">@drawable/actionbar_progress_horizontal</item>
|
|
|
|
<item name="android:indeterminateDrawable">@drawable/actionbar_progress_indeterminate_horizontal</item>
|
|
|
|
</style>
|
|
|
|
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="Theme.ownCloud.Fullscreen" parent="@style/Theme.MaterialComponents.DayNight">
|
2015-05-25 13:39:05 +03:00
|
|
|
<item name="android:windowFullscreen">true</item>
|
2015-10-19 16:15:00 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2013-06-14 18:59:38 +04:00
|
|
|
</style>
|
2018-10-26 10:36:06 +03:00
|
|
|
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Theme.ownCloud.Widget.ActionBar"
|
2018-12-12 17:22:31 +03:00
|
|
|
parent="@style/Theme.MaterialComponents.Light.DarkActionBar.Bridge">
|
2017-05-22 18:43:05 +03:00
|
|
|
<item name="android:background">@color/primary</item>
|
|
|
|
<item name="background">@color/primary</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
|
|
|
<item name="android:shadowColor">@color/actionbar_shadow</item>
|
2012-04-12 02:34:07 +04:00
|
|
|
<item name="android:shadowRadius">1</item>
|
|
|
|
<item name="android:shadowDy">1</item>
|
2012-05-15 23:52:59 +04:00
|
|
|
<item name="android:backgroundSplit">@drawable/split_action_bg</item>
|
2012-02-06 01:47:25 +04:00
|
|
|
</style>
|
2013-08-21 20:51:13 +04:00
|
|
|
|
|
|
|
<!-- Dialogs -->
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog" parent="@style/Theme.MaterialComponents.DayNight.Dialog.Alert">
|
2015-08-06 17:27:56 +03:00
|
|
|
<item name="windowNoTitle">false</item>
|
2017-04-13 01:51:07 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
<item name="android:windowBackground">@color/bg_default</item>
|
2019-01-25 18:28:30 +03:00
|
|
|
</style>
|
2015-08-06 18:13:00 +03:00
|
|
|
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog.NoTitle" parent="@style/Theme.ownCloud.Dialog">
|
2016-03-21 21:43:18 +03:00
|
|
|
<item name="windowNoTitle">true</item>
|
2017-04-13 01:51:07 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2016-03-21 21:43:18 +03:00
|
|
|
</style>
|
|
|
|
|
2018-09-03 22:15:21 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog.NoButtonBarStyle" parent="@style/Theme.MaterialComponents.DayNight.Dialog.Alert">
|
2016-03-21 19:47:01 +03:00
|
|
|
<item name="windowNoTitle">false</item>
|
2017-04-13 01:51:07 +03:00
|
|
|
<item name="colorAccent">@color/color_accent</item>
|
2016-03-21 19:47:01 +03:00
|
|
|
</style>
|
|
|
|
|
2016-04-06 22:15:47 +03:00
|
|
|
<style name="NavigationView_ItemTextAppearance">
|
|
|
|
<item name="android:ellipsize">end</item>
|
2016-04-14 18:40:44 +03:00
|
|
|
<item name="android:listDivider">@color/transparent</item>
|
2019-02-10 18:30:10 +03:00
|
|
|
|
|
|
|
<!-- TODO are these two necessary -->
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
|
|
|
<item name="android:color">@color/textColor</item>
|
2016-04-06 22:15:47 +03:00
|
|
|
</style>
|
|
|
|
|
2015-08-06 18:13:00 +03:00
|
|
|
<!-- Button Bar hack due to Lollipop bug:
|
|
|
|
https://code.google.com/p/android/issues/detail?id=78302
|
|
|
|
fix see:
|
|
|
|
http://stackoverflow.com/questions/27187353/dialog-buttons-with-long-text-not-wrapping-squeezed-out-material-theme-on-an
|
|
|
|
-->
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog.ButtonBar" parent="@style/Widget.AppCompat.Button.ButtonBar.AlertDialog">
|
2015-08-06 18:13:00 +03:00
|
|
|
<!-- Making sure, the button bar uses parent width and is not restricted in height -->
|
|
|
|
<item name="android:layout_width">match_parent</item>
|
|
|
|
<item name="android:layout_height">wrap_content</item>
|
|
|
|
<item name="android:height">@null</item>
|
|
|
|
<item name="android:minHeight">@null</item>
|
|
|
|
</style>
|
|
|
|
|
2018-11-01 11:34:15 +03:00
|
|
|
<style name="Theme.ownCloud.Dialog.ButtonBar.Button" parent="@style/Widget.MaterialComponents.Button.TextButton">
|
2015-08-06 18:13:00 +03:00
|
|
|
<!-- Setting the weight as follows should result in equally wide buttons filling the alert dialog width,
|
|
|
|
but instead they span further out of the dialog, breaking in multiple lines though -->
|
|
|
|
<item name="android:layout_width">0dp</item>
|
|
|
|
<item name="android:layout_weight">1</item>
|
|
|
|
<!-- setting a fixed width as follows results in narrow buttons with line breaks, but of course this is not a solution -->
|
|
|
|
<!-- <item name="android:width">100dp</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="backgroundTint">@color/bg_default</item>
|
2013-08-21 20:51:13 +04:00
|
|
|
</style>
|
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>
|
|
|
|
<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>
|
2017-07-14 14:53:05 +03:00
|
|
|
<item name="android:maxLines">1</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
|
|
|
|
|
|
|
<!-- Text styles -->
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="NextcloudTextAppearanceHeadline" parent="@style/TextAppearance.AppCompat.Headline">
|
2016-11-24 00:30:05 +03:00
|
|
|
<item name="android:textSize">26sp</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
2016-09-18 18:49:51 +03:00
|
|
|
</style>
|
2018-04-03 18:18:24 +03:00
|
|
|
<style name="NextcloudTextAppearanceMedium" parent="@style/TextAppearance.AppCompat.Medium">
|
2016-09-18 18:49:51 +03:00
|
|
|
</style>
|
2018-05-03 19:24:00 +03:00
|
|
|
|
2019-02-10 18:30:10 +03:00
|
|
|
<style name="TextInputLayout" parent="Base.Widget.MaterialComponents.TextInputEditText"></style>
|
|
|
|
|
|
|
|
<style name="Nextcloud.TextInputLayout.Login" parent="Widget.MaterialComponents.TextInputLayout.FilledBox">
|
|
|
|
<item name="boxBackgroundColor">@color/primary</item>
|
|
|
|
<item name="android:textColorHint">@color/fg_inverse</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
</style>
|
2019-02-10 18:30:10 +03:00
|
|
|
|
|
|
|
<style name="Nextcloud.EditText.Login" parent="ThemeOverlay.MaterialComponents.TextInputEditText">
|
|
|
|
<item name="colorControlNormal">@color/login_text_color</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="colorControlActivated">@color/login_text_color</item>
|
2018-05-03 19:24:00 +03:00
|
|
|
</style>
|
2018-05-28 18:30:55 +03:00
|
|
|
|
|
|
|
<style name="AppTabTextAppearance" parent="@style/TextAppearance.Design.Tab">
|
|
|
|
<item name="android:textSize">16sp</item>
|
|
|
|
<item name="textAllCaps">false</item>
|
2018-09-03 22:15:21 +03:00
|
|
|
<item name="android:textColor">@color/textColor</item>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<style name="ThemeOverlay.AppTheme.PopupMenu" parent="ThemeOverlay.MaterialComponents.Dark">
|
|
|
|
<!-- 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 -->
|
|
|
|
<item name="android:textColorPrimary">@color/textColor</item>
|
|
|
|
</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>
|
|
|
|
|
2017-09-07 18:36:10 +03:00
|
|
|
</resources>
|