• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4* Copyright (C) 2008 The Android Open Source Project
5*
6* Licensed under the Apache License, Version 2.0 (the "License");
7* you may not use this file except in compliance with the License.
8* You may obtain a copy of the License at
9*
10*      http://www.apache.org/licenses/LICENSE-2.0
11*
12* Unless required by applicable law or agreed to in writing, software
13* distributed under the License is distributed on an "AS IS" BASIS,
14* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15* See the License for the specific language governing permissions and
16* limitations under the License.
17*/
18-->
19
20<resources>
21
22    <style name="LivePickerTheme" parent="@android:style/Theme.DeviceDefault.Settings"/>
23
24    <style name="Preview" parent="@style/Theme.AppCompat.NoActionBar">
25        <item name="android:windowBackground">@android:color/transparent</item>
26        <item name="android:windowContentOverlay">@null</item>
27        <item name="android:windowDisablePreview">true</item>
28
29        <!-- Set status bar and navigation buttons to be translucent. -->
30        <item name="android:statusBarColor">@android:color/transparent</item>
31        <item name="android:navigationBarColor">@color/translucent_black</item>
32
33        <!-- Button corner -->
34        <item name="android:buttonCornerRadius">@*android:dimen/config_buttonCornerRadius</item>
35
36        <item name="colorAccent">@*android:color/accent_device_default</item>
37    </style>
38
39    <style name="TranslucentToolbarStyle" parent="@style/Widget.AppCompat.Toolbar">
40        <item name="android:background">@android:color/transparent</item>
41        <item name="android:theme">@style/ThemeOverlay.AppCompat.Dark.ActionBar</item>
42    </style>
43
44    <style name="TabLayoutStyle" parent="@style/Widget.Design.TabLayout">
45        <item name="tabTextAppearance">@style/LivePicker.TextAppearance.Tab.NoAllCaps</item>
46        <item name="tabIndicatorColor">?android:attr/textColorPrimary</item>
47        <item name="tabGravity">fill</item>
48        <item name="tabMaxWidth">0dp</item>
49    </style>
50
51    <style name="LivePicker.TextAppearance.Tab.NoAllCaps" parent="@android:style/TextAppearance.DeviceDefault.Widget.TabWidget">
52        <item name="android:textAllCaps">false</item>
53    </style>
54
55    <style name="AlertDialogStyle" parent="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"/>
56
57    <style name="ButtonStyle.Base" parent="@style/Widget.AppCompat.Button.Colored">
58        <item name="android:background">@drawable/btn_colored_background</item>
59        <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Widget.Button</item>
60        <item name="android:textAllCaps">false</item>
61        <item name="android:padding">@dimen/preview_attribution_pane_button_padding</item>
62        <item name="android:minHeight">@dimen/preview_attribution_pane_button_height</item>
63        <item name="android:singleLine">true</item>
64        <item name="android:ellipsize">end</item>
65    </style>
66
67    <style name="ButtonStyle" parent="@style/ButtonStyle.Base">
68        <item name="android:textColor">?android:textColorPrimary</item>
69    </style>
70
71    <style name="OutlinedButtonStyle" parent="@style/ButtonStyle">
72        <item name="android:background">@drawable/btn_transparent</item>
73        <item name="android:textColor">?android:textColorPrimary</item>
74    </style>
75
76    <style name="WallpaperSliceStyle" parent="@style/Widget.SliceView">
77        <item name="headerTitleSize">@*android:dimen/text_size_subhead_material</item>
78        <item name="headerSubtitleSize">@*android:dimen/text_size_subhead_material</item>
79        <item name="titleSize">@*android:dimen/text_size_subhead_material</item>
80        <item name="subtitleSize">@*android:dimen/text_size_caption_material</item>
81        <item name="gridTitleSize">@*android:dimen/text_size_subhead_material</item>
82        <item name="gridSubtitleSize">@*android:dimen/text_size_caption_material</item>
83    </style>
84</resources>
85