Home | History | Annotate | Download | only in values
      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:xliff="urn:oasis:names:tc:xliff:document:1.2">
     18     <style name="Theme.GalleryBase" parent="android:Theme.Holo">
     19         <item name="listPreferredItemHeightSmall">48dp</item>
     20         <item name="switchStyle">@android:style/Widget.CompoundButton</item>
     21     </style>
     22     <style name="Theme.Gallery.Dialog" parent="android:Theme.Holo.Dialog"/>
     23     <style name="Theme.Gallery" parent="Theme.GalleryBase">
     24         <item name="android:displayOptions"></item>
     25         <item name="android:windowContentOverlay">@null</item>
     26         <item name="android:actionBarStyle">@style/Holo.ActionBar</item>
     27         <item name="android:windowBackground">@android:color/black</item>
     28         <item name="android:colorBackground">@null</item>
     29         <item name="android:colorBackgroundCacheHint">@null</item>
     30     </style>
     31     <style name="Theme.FilterShow" parent="Theme.Gallery">
     32         <item name="android:windowBackground">@null</item>
     33     </style>
     34     <style name="Theme.Crop" parent="Theme.GalleryBase">
     35         <item name="android:displayOptions"></item>
     36         <item name="android:windowContentOverlay">@null</item>
     37         <item name="android:actionBarStyle">@style/Holo.ActionBar</item>
     38         <item name="android:colorBackground">@null</item>
     39         <item name="android:colorBackgroundCacheHint">@null</item>
     40         <item name="android:windowBackground">@drawable/filtershow_tiled_background</item>
     41     </style>
     42     <style name="Holo.ActionBar" parent="android:Widget.Holo.ActionBar">
     43         <item name="android:displayOptions">useLogo|showHome</item>
     44         <item name="android:background">@drawable/actionbar_translucent</item>
     45         <item name="android:backgroundStacked">@null</item>
     46     </style>
     47     <style name="MediaButton.Play" parent="@android:style/MediaButton.Play">
     48         <item name="android:background">@null</item>
     49         <item name="android:src">@drawable/icn_media_play</item>
     50     </style>
     51     <style name="DialogPickerTheme" parent="Theme.Gallery">
     52     </style>
     53     <style name="Theme.ProxyLauncher" parent="@android:Theme.Translucent.NoTitleBar">
     54     </style>
     55     <bool name="picker_is_dialog">false</bool>
     56     <color name="darker_transparent">#C1000000</color>
     57     <style name="ActionBarTwoLinePrimary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"></style>
     58     <style name="ActionBarTwoLineSecondary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle"></style>
     59     <style name="ActionBarTwoLineItem">
     60         <item name="android:background">@drawable/action_bar_two_line_background</item>
     61     </style>
     62 
     63     <!-- Camera resources below -->
     64 
     65     <style name="Theme.Camera" parent="Theme.CameraBase">
     66         <item name="android:windowBackground">@android:color/black</item>
     67         <item name="android:colorBackground">@android:color/black</item>
     68         <item name="android:colorBackgroundCacheHint">@android:color/black</item>
     69     </style>
     70     <style name="Theme.CameraBase" parent="android:Theme.Black.NoTitleBar.Fullscreen"/>
     71     <style name="OnScreenHintTextAppearance">
     72         <item name="android:textColor">@android:color/primary_text_dark</item>
     73         <item name="android:textColorHighlight">#FFFF9200</item>
     74         <item name="android:textColorHint">#808080</item>
     75         <item name="android:textColorLink">#5C5CFF</item>
     76         <item name="android:textSize">16sp</item>
     77         <item name="android:textStyle">normal</item>
     78     </style>
     79     <style name="OnScreenHintTextAppearance.Small">
     80         <item name="android:textSize">14sp</item>
     81         <item name="android:textStyle">normal</item>
     82         <item name="android:textColor">@android:color/secondary_text_dark</item>
     83     </style>
     84     <style name="Animation_OnScreenHint">
     85         <item name="android:windowEnterAnimation">@anim/on_screen_hint_enter</item>
     86         <item name="android:windowExitAnimation">@anim/on_screen_hint_exit</item>
     87     </style>
     88     <style name="ReviewPlayIcon">
     89         <item name="android:layout_height">wrap_content</item>
     90         <item name="android:layout_width">wrap_content</item>
     91         <item name="android:layout_centerInParent">true</item>
     92         <item name="android:visibility">gone</item>
     93         <item name="android:src">@drawable/ic_gallery_play_big</item>
     94     </style>
     95     <style name="PopupTitleSeparator">
     96         <item name="android:layout_width">match_parent</item>
     97         <item name="android:layout_height">2dp</item>
     98         <item name="android:background">@color/popup_title_color</item>
     99     </style>
    100     <style name="SettingItemList">
    101         <item name="android:orientation">vertical</item>
    102         <item name="android:paddingBottom">3dp</item>
    103         <item name="android:layout_gravity">center</item>
    104         <item name="android:layout_width">match_parent</item>
    105         <item name="android:layout_height">wrap_content</item>
    106         <item name="android:listSelector">@drawable/bg_pressed</item>
    107     </style>
    108     <style name="SettingItemTitle">
    109         <item name="android:textSize">@dimen/setting_item_text_size</item>
    110         <item name="android:gravity">left|center_vertical</item>
    111         <item name="android:textColor">@color/primary_text</item>
    112         <item name="android:singleLine">true</item>
    113         <item name="android:layout_weight">1</item>
    114         <item name="android:layout_width">0dp</item>
    115         <item name="android:layout_height">match_parent</item>
    116     </style>
    117     <style name="SettingItemText">
    118         <item name="android:layout_width">@dimen/setting_item_text_width</item>
    119         <item name="android:layout_height">wrap_content</item>
    120         <item name="android:layout_gravity">center_vertical</item>
    121         <item name="android:gravity">center</item>
    122         <item name="android:singleLine">true</item>
    123         <item name="android:textColor">@color/primary_text</item>
    124         <item name="android:textSize">@dimen/setting_item_text_size</item>
    125     </style>
    126     <style name="SettingRow">
    127         <item name="android:gravity">center_vertical</item>
    128         <item name="android:orientation">horizontal</item>
    129         <item name="android:layout_width">match_parent</item>
    130         <item name="android:layout_height">@dimen/setting_row_height</item>
    131         <item name="android:paddingLeft">@dimen/setting_item_list_margin</item>
    132         <item name="android:paddingRight">@dimen/setting_item_list_margin</item>
    133         <item name="android:background">@drawable/setting_picker</item>
    134     </style>
    135     <style name="OnViewfinderLabel">
    136         <item name="android:gravity">center</item>
    137         <item name="android:layout_width">wrap_content</item>
    138         <item name="android:layout_height">wrap_content</item>
    139         <item name="android:singleLine">true</item>
    140         <item name="android:layout_margin">10dp</item>
    141         <item name="android:paddingLeft">15dp</item>
    142         <item name="android:paddingRight">15dp</item>
    143         <item name="android:paddingTop">3dp</item>
    144         <item name="android:paddingBottom">3dp</item>
    145         <item name="android:textColor">@android:color/white</item>
    146         <item name="android:textSize">16dp</item>
    147         <item name="android:background">@drawable/bg_text_on_preview</item>
    148     </style>
    149     <style name="PanoCustomDialogText">
    150         <item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
    151     </style>
    152     <style name="EffectSettingGrid">
    153         <item name="android:layout_marginLeft">@dimen/setting_item_list_margin</item>
    154         <item name="android:layout_marginRight">@dimen/setting_item_list_margin</item>
    155         <item name="android:paddingBottom">3dp</item>
    156         <item name="android:layout_width">match_parent</item>
    157         <item name="android:layout_height">wrap_content</item>
    158         <item name="android:numColumns">3</item>
    159         <item name="android:verticalSpacing">3dp</item>
    160         <item name="android:horizontalSpacing">3dp</item>
    161         <item name="android:choiceMode">singleChoice</item>
    162     </style>
    163     <style name="EffectSettingItem">
    164         <item name="android:orientation">vertical</item>
    165         <item name="android:layout_width">match_parent</item>
    166         <item name="android:layout_height">wrap_content</item>
    167         <item name="android:paddingTop">9dp</item>
    168         <item name="android:paddingBottom">9dp</item>
    169         <item name="android:paddingLeft">2dp</item>
    170         <item name="android:paddingRight">2dp</item>
    171         <item name="android:background">@drawable/setting_picker</item>
    172     </style>
    173     <style name="EffectSettingItemTitle">
    174         <item name="android:textSize">@dimen/effect_setting_item_text_size</item>
    175         <item name="android:gravity">center</item>
    176         <item name="android:textColor">@android:color/white</item>
    177         <item name="android:singleLine">true</item>
    178         <item name="android:layout_width">match_parent</item>
    179         <item name="android:layout_height">wrap_content</item>
    180         <item name="android:paddingTop">1dp</item>
    181     </style>
    182     <style name="EffectSettingTypeTitle">
    183         <item name="android:textSize">@dimen/effect_setting_type_text_size</item>
    184         <item name="android:gravity">left|center_vertical</item>
    185         <item name="android:textColor">@android:color/white</item>
    186         <item name="android:alpha">0.7</item>
    187         <item name="android:singleLine">true</item>
    188         <item name="android:layout_width">match_parent</item>
    189         <item name="android:layout_height">wrap_content</item>
    190         <item name="android:minHeight">@dimen/effect_setting_type_text_min_height</item>
    191         <item name="android:paddingLeft">@dimen/effect_setting_type_text_left_padding</item>
    192     </style>
    193     <style name="EffectTypeSeparator">
    194         <item name="android:layout_width">match_parent</item>
    195         <item name="android:layout_marginLeft">8dp</item>
    196         <item name="android:layout_marginRight">8dp</item>
    197         <item name="android:layout_marginBottom">14dp</item>
    198         <item name="android:layout_height">2dp</item>
    199         <item name="android:background">#2c2c2c</item>
    200     </style>
    201     <style name="EffectTitleSeparator">
    202         <item name="android:layout_width">match_parent</item>
    203         <item name="android:layout_height">2dp</item>
    204         <item name="android:paddingBottom">4dp</item>
    205         <item name="android:background">@android:drawable/divider_horizontal_dark</item>
    206     </style>
    207     <style name="TextAppearance.DialogWindowTitle" parent="">
    208         <item name="android:textSize">22sp</item>
    209         <item name="android:textColor">@color/holo_blue_light</item>
    210     </style>
    211     <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Medium"/>
    212     <style name="Widget.Button.Borderless" parent="android:Widget.Button">
    213         <item name="android:background">@drawable/bg_pressed</item>
    214         <item name="android:textAppearance">@style/TextAppearance.Medium</item>
    215         <item name="android:textColor">@color/primary_text</item>
    216         <item name="android:minHeight">48dip</item>
    217         <item name="android:minWidth">64dip</item>
    218         <item name="android:paddingLeft">4dip</item>
    219         <item name="android:paddingRight">4dip</item>
    220     </style>
    221 
    222     <style name="ReviewControlText_xlarge">
    223         <item name="android:layout_height">wrap_content</item>
    224         <item name="android:layout_width">wrap_content</item>
    225         <item name="android:background">@drawable/bg_pressed_exit_fading</item>
    226         <item name="android:gravity">center</item>
    227         <item name="android:paddingLeft">2dp</item>
    228         <item name="android:paddingRight">10dp</item>
    229         <item name="android:paddingTop">10dp</item>
    230         <item name="android:paddingBottom">10dp</item>
    231         <item name="android:textSize">18sp</item>
    232         <item name="android:textStyle">bold</item>
    233         <item name="android:clickable">true</item>
    234         <item name="android:focusable">true</item>
    235     </style>
    236     <style name="PopupTitleText_xlarge">
    237         <item name="android:textSize">@dimen/popup_title_text_size</item>
    238         <item name="android:layout_gravity">left|center_vertical</item>
    239         <item name="android:layout_width">wrap_content</item>
    240         <item name="android:layout_height">wrap_content</item>
    241         <item name="android:singleLine">true</item>
    242         <item name="android:textColor">@color/popup_title_color</item>
    243         <item name="android:layout_marginLeft">10dp</item>
    244     </style>
    245     <style name="PanoCustomDialogText_xlarge">
    246         <item name="android:textAppearance">@android:style/TextAppearance.Large</item>
    247     </style>
    248     <style name="ViewfinderLabelLayout_xlarge">
    249         <item name="android:layout_width">match_parent</item>
    250         <item name="android:layout_height">match_parent</item>
    251         <item name="android:layout_margin">13dp</item>
    252     </style>
    253     <style name="SwitcherButton">
    254         <item name="android:layout_width">@dimen/switcher_size</item>
    255         <item name="android:layout_height">@dimen/switcher_size</item>
    256         <item name="android:background">@drawable/bg_pressed_exit_fading</item>
    257     </style>
    258     <style name="MenuIndicator">
    259         <item name="android:layout_width">wrap_content</item>
    260         <item name="android:layout_height">wrap_content</item>
    261         <item name="android:enabled">false</item>
    262         <item name="android:scaleType">center</item>
    263     </style>
    264     <style name="CameraControls">
    265         <item name="android:layout_width">match_parent</item>
    266         <item name="android:layout_height">match_parent</item>
    267     </style>
    268     <style name="UndoBar">
    269         <item name="android:layout_marginLeft">4dp</item>
    270         <item name="android:layout_marginRight">4dp</item>
    271         <item name="android:paddingLeft">16dp</item>
    272         <item name="android:layout_width">match_parent</item>
    273         <item name="android:layout_height">48dp</item>
    274         <item name="android:layout_gravity">bottom</item>
    275         <item name="android:background">@drawable/panel_undo_holo</item>
    276     </style>
    277     <style name="UndoBarTextAppearance">
    278         <item name="android:textSize">16sp</item>
    279         <item name="android:textColor">@android:color/white</item>
    280     </style>
    281     <style name="UndoBarSeparator">
    282         <item name="android:background">@color/gray</item>
    283         <item name="android:layout_width">1dp</item>
    284         <item name="android:layout_height">match_parent</item>
    285         <item name="android:layout_marginTop">10dp</item>
    286         <item name="android:layout_marginBottom">10dp</item>
    287         <item name="android:paddingRight">12dp</item>
    288     </style>
    289     <style name="UndoButton">
    290         <item name="android:layout_width">wrap_content</item>
    291         <item name="android:layout_height">match_parent</item>
    292         <item name="android:paddingRight">16dp</item>
    293         <item name="android:textSize">12sp</item>
    294         <item name="android:gravity">center_vertical</item>
    295         <item name="android:textStyle">bold</item>
    296         <item name="android:textColor">@color/gray</item>
    297         <item name="android:drawablePadding">8dp</item>
    298         <item name="android:background">@drawable/bg_pressed</item>
    299     </style>
    300 </resources>
    301