mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2025-11-14 01:08:14 +00:00
89 lines
4.0 KiB
XML
89 lines
4.0 KiB
XML
<!--
|
|
/*
|
|
* Copyright (c) 2014-2015, Loic Blot <loic.blot@unix-experience.fr>
|
|
* All rights reserved.
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions
|
|
* are met:
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
* notice, this list of conditions and the following disclaimer.
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
* documentation and/or other materials provided with the distribution.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
* SUCH DAMAGE.
|
|
*/
|
|
-->
|
|
|
|
<resources>
|
|
|
|
<style name="OcSmsTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
|
<item name="colorPrimary">@color/oc_primary</item>
|
|
<item name="colorPrimaryDark">@color/oc_primary_dark</item>
|
|
<item name="colorAccent">@color/oc_accent</item>
|
|
</style>
|
|
|
|
<!-- separate style for Drawer activities needed for v21+ theming -->
|
|
<style name="OcSmsTheme.Drawer" parent="OcSmsTheme.NoActionBar">
|
|
<item name="colorPrimaryDark">@color/oc_primary_dark</item>
|
|
<item name="colorPrimary">@color/oc_primary</item>
|
|
<item name="colorAccent">@color/oc_accent</item>
|
|
</style>
|
|
|
|
<style name="OcSmsTheme.NoActionbar" parent="Theme.AppCompat.Light.NoActionBar">
|
|
<item name="colorPrimaryDark">@color/oc_primary_dark</item>
|
|
<item name="colorPrimary">@color/oc_primary</item>
|
|
<item name="colorAccent">@color/oc_accent</item>
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
<item name="windowActionModeOverlay">true</item>
|
|
</style>
|
|
|
|
<style name="OcSmsTheme.Login" parent="OcSmsTheme">
|
|
<item name="android:windowBackground">@color/oc_primary</item>
|
|
<item name="colorControlNormal">@color/oc_login_hint</item>
|
|
<item name="colorControlActivated">@color/oc_white</item>
|
|
<item name="colorControlHighlight">@color/oc_login_hint</item>
|
|
<item name="colorAccent">@color/oc_login_hint</item>
|
|
<item name="android:textColorHint">@color/oc_login_hint</item>
|
|
<item name="android:textColor">@color/oc_white</item>
|
|
</style>
|
|
|
|
<!-- Application theme. -->
|
|
<style name="StandardButton">
|
|
<item name="android:background">@color/oc_primary</item>
|
|
<item name="android:layout_marginTop">15dp</item>
|
|
<item name="android:layout_centerHorizontal">true</item>
|
|
<item name="android:textColor">#ffffff</item>
|
|
<item name="android:padding">10dp</item>
|
|
</style>
|
|
|
|
<style name="h1">
|
|
<item name="android:textColor">@color/oc_primary_dark</item>
|
|
<item name="android:layout_marginTop">18dp</item>
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:textAppearance">?android:attr/textAppearanceLarge</item>
|
|
</style>
|
|
|
|
<style name="OcSmsTheme.NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
|
|
<item name="windowActionBar">false</item>
|
|
<item name="windowNoTitle">true</item>
|
|
</style>
|
|
|
|
<style name="OcSmsTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
|
|
|
|
<style name="OcSmsTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
|
|
|
|
</resources>
|