Home | History | Annotate | Download | only in values
      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     <style name="Theme.WallpaperPicker" parent="@android:style/Theme.Holo.NoActionBar">
     22     </style>
     23 
     24     <style name="Theme" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">
     25     </style>
     26 
     27     <style name="ClingButton">
     28         <item name="android:layout_width">wrap_content</item>
     29         <item name="android:layout_height">wrap_content</item>
     30         <item name="android:paddingTop">10dp</item>
     31         <item name="android:paddingBottom">15dp</item>
     32         <item name="android:paddingStart">35dp</item>
     33         <item name="android:paddingEnd">35dp</item>
     34         <item name="android:text">@string/cling_dismiss</item>
     35         <item name="android:textStyle">bold</item>
     36         <item name="android:background">@drawable/cling_button_bg</item>
     37     </style>
     38     <style name="ClingTitleText">
     39         <item name="android:layout_width">wrap_content</item>
     40         <item name="android:layout_height">wrap_content</item>
     41         <item name="android:layout_marginBottom">5dp</item>
     42         <item name="android:textSize">23sp</item>
     43         <item name="android:textColor">#49C0EC</item>
     44         <item name="android:shadowColor">#000000</item>
     45         <item name="android:shadowDy">2</item>
     46         <item name="android:shadowRadius">2.0</item>
     47     </style>
     48     <style name="ClingText">
     49         <item name="android:layout_width">wrap_content</item>
     50         <item name="android:layout_height">wrap_content</item>
     51         <item name="android:textSize">15sp</item>
     52         <item name="android:textColor">#FFFFFF</item>
     53         <item name="android:shadowColor">#000000</item>
     54         <item name="android:shadowDy">2</item>
     55         <item name="android:shadowRadius">2.0</item>
     56         <item name="android:lineSpacingMultiplier">1.1</item>
     57     </style>
     58 
     59     <style name="WorkspaceIcon">
     60         <item name="android:layout_width">match_parent</item>
     61         <item name="android:layout_height">match_parent</item>
     62         <item name="android:layout_gravity">center</item>
     63         <item name="android:gravity">center_horizontal</item>
     64         <item name="android:singleLine">true</item>
     65         <item name="android:ellipsize">marquee</item>
     66         <item name="android:textSize">@dimen/workspace_icon_text_size</item>
     67         <item name="android:textColor">@color/workspace_icon_text_color</item>
     68         <item name="android:shadowRadius">2.0</item>
     69         <item name="android:shadowColor">#B0000000</item>
     70     </style>
     71 
     72     <style name="WorkspaceIcon.Portrait">
     73         <item name="android:drawablePadding">@dimen/app_icon_drawable_padding</item>
     74         <item name="android:paddingStart">4dp</item>
     75         <item name="android:paddingEnd">4dp</item>
     76         <item name="android:paddingTop">@dimen/app_icon_padding_top</item>
     77         <item name="android:paddingBottom">4dp</item>
     78     </style>
     79 
     80     <style name="WorkspaceIcon.Landscape">
     81         <item name="android:drawablePadding">@dimen/app_icon_drawable_padding_land</item>
     82         <item name="android:paddingStart">4dp</item>
     83         <item name="android:paddingEnd">4dp</item>
     84         <item name="android:paddingTop">@dimen/app_icon_padding_top</item>
     85         <item name="android:paddingBottom">4dp</item>
     86     </style>
     87 
     88     <style name="WorkspaceIcon.Portrait.Folder">
     89         <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow -->
     90         <item name="android:drawablePadding">0dp</item>
     91         <item name="android:paddingTop">@dimen/folder_icon_padding_top</item>
     92     </style>
     93     <style name="WorkspaceIcon.Landscape.Folder">
     94         <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow -->
     95         <item name="android:drawablePadding">0dp</item>
     96         <item name="android:paddingTop">0dp</item>
     97         <item name="android:layout_marginTop">-2dp</item>
     98     </style>
     99 
    100     <style name="WorkspaceIcon.Portrait.AppsCustomize">
    101         <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow -->
    102         <item name="android:singleLine">false</item>
    103         <item name="android:maxLines">2</item>
    104         <item name="android:background">@null</item>
    105         <item name="android:paddingTop">0dp</item>
    106         <item name="android:paddingBottom">0dp</item>
    107         <item name="android:paddingStart">0dp</item>
    108         <item name="android:paddingEnd">0dp</item>
    109         <item name="android:drawablePadding">2dp</item>
    110     </style>
    111     <style name="WorkspaceIcon.Landscape.AppsCustomize">
    112         <item name="android:shadowRadius">0.0</item> <!-- Don't use text shadow -->
    113         <item name="android:background">@null</item>
    114         <item name="android:paddingTop">4dp</item>
    115         <item name="android:paddingBottom">0dp</item>
    116         <item name="android:drawablePadding">6dp</item>
    117     </style>
    118 
    119     <style name="QSBBar">
    120         <item name="android:orientation">horizontal</item>
    121         <item name="android:layout_width">match_parent</item>
    122         <item name="android:layout_height">@dimen/qsb_bar_height</item>
    123         <item name="android:layout_gravity">top|center_horizontal</item>
    124         <item name="android:paddingStart">@dimen/qsb_padding_left</item>
    125         <item name="android:paddingEnd">@dimen/qsb_padding_right</item>
    126     </style>
    127     <style name="SearchDropTargetBar">
    128         <item name="android:orientation">horizontal</item>
    129         <item name="android:layout_width">match_parent</item>
    130         <item name="android:layout_height">match_parent</item>
    131         <item name="android:layout_gravity">bottom|center_horizontal</item>
    132     </style>
    133     <style name="SearchButton">
    134         <item name="android:layout_gravity">center_vertical</item>
    135         <item name="android:paddingTop">@dimen/toolbar_button_vertical_padding</item>
    136         <item name="android:paddingBottom">@dimen/toolbar_button_vertical_padding</item>
    137     </style>
    138     <style name="DropTargetButtonContainer">
    139         <item name="android:layout_width">0dp</item>
    140         <item name="android:layout_height">match_parent</item>
    141     </style>
    142     <style name="DropTargetButton">
    143         <item name="android:layout_width">wrap_content</item>
    144         <item name="android:layout_height">match_parent</item>
    145         <item name="android:layout_gravity">center</item>
    146         <item name="android:gravity">center_vertical</item>
    147         <item name="android:drawablePadding">7.5dp</item>
    148         <item name="android:paddingStart">25dp</item>
    149         <item name="android:paddingEnd">25dp</item>
    150         <item name="android:textColor">#FFFFFFFF</item>
    151         <item name="android:textSize">16sp</item>
    152         <item name="android:singleLine">true</item>
    153         <item name="android:ellipsize">end</item>
    154         <item name="android:shadowColor">#FF000000</item>
    155         <item name="android:shadowDx">0.0</item>
    156         <item name="android:shadowDy">1.0</item>
    157         <item name="android:shadowRadius">4.0</item>
    158     </style>
    159 
    160     <style name="TabIndicator">
    161         <item name="android:layout_width">wrap_content</item>
    162         <item name="android:layout_height">match_parent</item>
    163         <item name="android:gravity">center</item>
    164         <item name="android:paddingStart">20dp</item>
    165         <item name="android:paddingEnd">20dp</item>
    166         <item name="android:background">@drawable/tab_widget_indicator_selector</item>
    167         <item name="android:textColor">?android:attr/textColorPrimary</item>
    168         <item name="android:textSize">12sp</item>
    169         <item name="android:textStyle">bold</item>
    170         <item name="android:textAllCaps">true</item>
    171         <item name="android:singleLine">true</item>
    172         <item name="android:ellipsize">end</item>
    173     </style>
    174     <style name="TabIndicator.AppsCustomize">
    175         <!-- Overridden in values-land -->
    176     </style>
    177 
    178     <style name="MarketButton">
    179         <item name="android:paddingStart">5dp</item>
    180         <item name="android:paddingEnd">5dp</item>
    181         <item name="android:textColor">@color/workspace_all_apps_and_delete_zone_text_color</item>
    182         <item name="android:textSize">18sp</item>
    183         <item name="android:shadowColor">@color/workspace_all_apps_and_delete_zone_text_shadow_color</item>
    184         <item name="android:shadowDx">0.0</item>
    185         <item name="android:shadowDy">0.0</item>
    186         <item name="android:shadowRadius">2.0</item>
    187     </style>
    188 
    189     <!-- Overridden in device overlays -->
    190     <style name="CustomClingTitleText">
    191     </style>
    192     <style name="CustomClingText">
    193     </style>
    194 </resources>
    195