summaryrefslogtreecommitdiffstats
path: root/res/values/styles.xml
blob: ff942e2e41bf6352efe1a1485675807df35734bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*      http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->

<resources>

    <style name="LivePickerTheme" parent="@android:style/Theme.DeviceDefault.Settings" />

    <style name="Preview" parent="@style/Theme.AppCompat">

        <!-- Set no title and no action bar because we use a toolbar instead. -->
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:windowContentOverlay">@null</item>

        <!-- Set status bar and navigation buttons to be translucent. -->
        <item name="android:colorPrimaryDark">@color/translucent_black</item>
        <item name="android:navigationBarColor">@color/translucent_black</item>

        <item name="colorAccent">@*android:color/accent_device_default_dark</item>

        <item name="android:windowDisablePreview">true</item>

    </style>

    <style name="TranslucentToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
        <item name="android:background">@color/translucent_black</item>
        <item name="android:theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
    </style>

    <style name="AttributionPaneTitle" parent="@android:style/TextAppearance.Material.Subhead"/>

</resources>