1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources xmlns:android="http://schemas.android.com/apk/res/android">
18    <!-- Camera resources below -->
19    <style name="Theme.ProxyLauncher" parent="@android:Theme.Translucent.NoTitleBar">
20    </style>
21
22    <style name="Theme.Camera" parent="android:style/Theme.Holo.Light.DarkActionBar">
23        <item name="android:windowFullscreen">true</item>
24        <item name="android:windowActionBar">false</item>
25        <item name="android:windowTitleSize">0dp</item>
26        <item name="android:windowActionBarOverlay">true</item>
27        <item name="android:windowBackground">@color/camera_gray_background</item>
28        <item name="android:colorBackground">@color/camera_gray_background</item>
29        <item name="android:colorBackgroundCacheHint">@color/camera_gray_background</item>
30        <item name="android:actionBarStyle">@style/Camera.ActionBar</item>
31    </style>
32
33    <style name="Theme.SecureCamera" parent="@style/Theme.Camera">
34        <item name="android:windowBackground">@drawable/cover</item>
35    </style>
36
37    <style name="Camera.ActionBar" parent="android:Widget.Holo.Light.ActionBar">
38        <item name="android:displayOptions">useLogo|showHome|homeAsUp</item>
39        <item name="android:background">@drawable/actionbar_translucent</item>
40        <item name="android:backgroundStacked">@null</item>
41    </style>
42    <style name="OnScreenHintTextAppearance">
43        <item name="android:textColor">@android:color/primary_text_dark</item>
44        <item name="android:textColorHighlight">#FFFF9200</item>
45        <item name="android:textColorHint">#808080</item>
46        <item name="android:textColorLink">#5C5CFF</item>
47        <item name="android:textSize">16sp</item>
48        <item name="android:textStyle">normal</item>
49    </style>
50    <style name="OnScreenHintTextAppearance.Small">
51        <item name="android:textSize">14sp</item>
52        <item name="android:textStyle">normal</item>
53        <item name="android:textColor">@android:color/secondary_text_dark</item>
54    </style>
55    <style name="Animation_OnScreenHint">
56        <item name="android:windowEnterAnimation">@anim/on_screen_hint_enter</item>
57        <item name="android:windowExitAnimation">@anim/on_screen_hint_exit</item>
58    </style>
59    <style name="ReviewPlayIcon">
60        <item name="android:layout_height">wrap_content</item>
61        <item name="android:layout_width">wrap_content</item>
62        <item name="android:layout_centerInParent">true</item>
63        <item name="android:visibility">gone</item>
64        <item name="android:src">@drawable/ic_gallery_play_big</item>
65    </style>
66    <style name="PopupTitleSeparator">
67        <item name="android:layout_width">match_parent</item>
68        <item name="android:layout_height">2dp</item>
69        <item name="android:background">@color/popup_title_color</item>
70    </style>
71    <style name="OnViewfinderLabel">
72        <item name="android:gravity">center</item>
73        <item name="android:layout_width">wrap_content</item>
74        <item name="android:layout_height">wrap_content</item>
75        <item name="android:singleLine">true</item>
76        <item name="android:layout_margin">10dp</item>
77        <item name="android:paddingLeft">15dp</item>
78        <item name="android:paddingRight">15dp</item>
79        <item name="android:paddingTop">3dp</item>
80        <item name="android:paddingBottom">3dp</item>
81        <item name="android:textColor">@android:color/white</item>
82        <item name="android:textSize">16dp</item>
83        <item name="android:background">@drawable/bg_text_on_preview</item>
84    </style>
85    <style name="PanoCustomDialogText">
86        <item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
87    </style>
88    <style name="TextAppearance.DialogWindowTitle" parent="">
89        <item name="android:textSize">22sp</item>
90        <item name="android:textColor">@color/holo_blue_light</item>
91    </style>
92    <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Medium"/>
93    <style name="Widget.Button.Borderless" parent="android:Widget.Button">
94        <item name="android:background">@drawable/bg_pressed</item>
95        <item name="android:textAppearance">@style/TextAppearance.Medium</item>
96        <item name="android:textColor">@color/primary_text</item>
97        <item name="android:minHeight">48dip</item>
98        <item name="android:minWidth">64dip</item>
99        <item name="android:paddingLeft">4dip</item>
100        <item name="android:paddingRight">4dip</item>
101    </style>
102
103    <style name="ReviewControlText_xlarge">
104        <item name="android:layout_height">wrap_content</item>
105        <item name="android:layout_width">wrap_content</item>
106        <item name="android:background">@drawable/bg_pressed_exit_fading</item>
107        <item name="android:gravity">center</item>
108        <item name="android:paddingLeft">2dp</item>
109        <item name="android:paddingRight">10dp</item>
110        <item name="android:paddingTop">10dp</item>
111        <item name="android:paddingBottom">10dp</item>
112        <item name="android:textSize">18sp</item>
113        <item name="android:textStyle">bold</item>
114        <item name="android:clickable">true</item>
115        <item name="android:focusable">true</item>
116    </style>
117    <style name="PopupTitleText_xlarge">
118        <item name="android:textSize">@dimen/popup_title_text_size</item>
119        <item name="android:layout_gravity">left|center_vertical</item>
120        <item name="android:layout_width">wrap_content</item>
121        <item name="android:layout_height">wrap_content</item>
122        <item name="android:singleLine">true</item>
123        <item name="android:textColor">@color/popup_title_color</item>
124        <item name="android:layout_marginLeft">10dp</item>
125    </style>
126    <style name="PanoCustomDialogText_xlarge">
127        <item name="android:textAppearance">@android:style/TextAppearance.Large</item>
128    </style>
129    <style name="ViewfinderLabelLayout_xlarge">
130        <item name="android:layout_width">match_parent</item>
131        <item name="android:layout_height">match_parent</item>
132        <item name="android:layout_margin">13dp</item>
133    </style>
134    <style name="SwitcherButton">
135        <item name="android:layout_width">@dimen/switcher_size</item>
136        <item name="android:layout_height">@dimen/switcher_size</item>
137        <item name="android:background">@drawable/bg_pressed_exit_fading</item>
138    </style>
139    <style name="MenuIndicator">
140        <item name="android:layout_width">wrap_content</item>
141        <item name="android:layout_height">wrap_content</item>
142        <item name="android:enabled">false</item>
143        <item name="android:scaleType">center</item>
144    </style>
145    <style name="CameraControls">
146        <item name="android:layout_width">match_parent</item>
147        <item name="android:layout_height">match_parent</item>
148    </style>
149    <style name="UndoBar">
150        <item name="android:layout_marginBottom">64dp</item>
151        <item name="android:paddingLeft">16dp</item>
152        <item name="android:layout_width">wrap_content</item>
153        <item name="android:layout_height">48dp</item>
154        <item name="android:layout_gravity">bottom|center_horizontal</item>
155        <item name="android:background">@drawable/panel_undo_holo</item>
156    </style>
157    <style name="UndoBarTextAppearance">
158        <item name="android:textSize">16sp</item>
159        <item name="android:textColor">@android:color/white</item>
160    </style>
161    <style name="UndoBarSeparator">
162        <item name="android:background">@color/gray</item>
163        <item name="android:layout_width">1dp</item>
164        <item name="android:layout_height">match_parent</item>
165        <item name="android:layout_marginTop">10dp</item>
166        <item name="android:layout_marginBottom">10dp</item>
167        <item name="android:paddingRight">12dp</item>
168    </style>
169    <style name="UndoButton">
170        <item name="android:layout_width">wrap_content</item>
171        <item name="android:layout_height">match_parent</item>
172        <item name="android:paddingRight">16dp</item>
173        <item name="android:textSize">12sp</item>
174        <item name="android:gravity">center_vertical</item>
175        <item name="android:textStyle">bold</item>
176        <item name="android:textColor">@color/gray</item>
177        <item name="android:drawablePadding">8dp</item>
178        <item name="android:background">@drawable/bg_pressed</item>
179    </style>
180    <style name="PanoViewHorizontalBar">
181        <item name="android:background">#000000</item>
182        <item name="android:alpha">1.0</item>
183    </style>
184    <style name="FilmstripBottomControlButton">
185        <item name="android:layout_width">@dimen/filmstrip_bottom_control_button_size</item>
186        <item name="android:layout_height">@dimen/filmstrip_bottom_control_button_size</item>
187        <item name="android:background">@drawable/transparent_button_background</item>
188        <item name="android:scaleType">centerInside</item>
189        <item name="android:layout_gravity">center_vertical</item>
190    </style>
191    <style name="FilmstripBottomProgressText">
192        <item name="android:textColor">@android:color/white</item>
193        <item name="android:textSize">14sp</item>
194        <item name="android:shadowColor">@android:color/black</item>
195        <item name="android:shadowDx">0</item>
196        <item name="android:shadowDy">0</item>
197        <item name="android:shadowRadius">2</item>
198    </style>
199    <style name="IndicatorIcon">
200        <item name="android:layout_width">@dimen/indicator_icon_width</item>
201        <item name="android:layout_height">@dimen/indicator_icon_height</item>
202        <item name="android:visibility">gone</item>
203        <item name="android:background">@null</item>
204    </style>
205    <style name="ModeOption">
206      <item name="android:layout_width">@dimen/mode_option_width</item>
207      <item name="android:layout_height">@dimen/mode_option_height</item>
208      <item name="android:layout_margin">6dp</item>
209      <item name="android:background">@null</item>
210    </style>
211    <style name="Theme.CameraSettings" parent="@android:style/Theme.Holo.Light.DarkActionBar">
212       <item name="android:windowFullscreen">true</item>
213       <item name="android:actionBarStyle">@style/Settings.ActionBar</item>
214    </style>
215    <style name="Settings.ActionBar" parent="android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
216        <item name="android:background">@color/main_color_global</item>
217    </style>
218
219    <style name="start_up_dialog_content">
220        <item name="android:layout_width">match_parent</item>
221        <item name="android:layout_height">match_parent</item>
222    </style>
223    <style name="fullscreen_dialog_title">
224        <item name="android:textSize">24sp</item>
225        <item name="android:fontFamily">sans-serif-regular</item>
226        <item name="android:textColor">@color/dialog_text_color</item>
227    </style>
228    <style name="BlueButton">
229        <item name="android:layout_width">144dp</item>
230        <item name="android:layout_height">48dp</item>
231        <item name="android:background">@drawable/button_cling</item>
232        <item name="android:textSize">14sp</item>
233        <item name="android:fontFamily">sans-serif-medium</item>
234        <item name="android:textColor">@color/blue_button_text_color</item>
235        <item name="android:padding">12dp</item>
236    </style>
237    <style name="DialogCheckBox">
238        <item name="android:textColor">@color/dialog_text_color</item>
239        <item name="android:textSize">16sp</item>
240        <item name="android:lineSpacingExtra">1.9sp</item>
241        <!-- In v21 Material, can handle black button with a tint property; for
242             earlier versions we must fully replace the drawable which we do
243             here with a Material-style black asset -->
244        <item name="android:button">@drawable/checkbox_material_black</item>
245    </style>
246</resources>
247