Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2006 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 
     19     <style name="RecentsStyle" parent="@android:style/Theme.Holo.Wallpaper.NoTitleBar">
     20         <item name="android:windowAnimationStyle">@style/Animation.RecentsActivity</item>
     21     </style>
     22 
     23     <!-- Animations for a non-full-screen window or activity. -->
     24     <style name="Animation.RecentsActivity" parent="@android:style/Animation.Activity">
     25         <item name="android:activityOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
     26         <item name="android:activityOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
     27         <item name="android:taskOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
     28         <item name="android:taskOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
     29         <item name="android:taskToFrontEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
     30         <item name="android:taskToFrontExitAnimation">@anim/recents_launch_from_launcher_exit</item>
     31         <item name="android:wallpaperOpenEnterAnimation">@anim/recents_launch_from_launcher_enter</item>
     32         <item name="android:wallpaperOpenExitAnimation">@anim/recents_launch_from_launcher_exit</item>
     33         <item name="android:wallpaperIntraOpenEnterAnimation">@anim/wallpaper_recents_launch_from_launcher_enter</item>
     34         <item name="android:wallpaperIntraOpenExitAnimation">@anim/wallpaper_recents_launch_from_launcher_exit</item>
     35     </style>
     36 
     37     <style name="TextAppearance.StatusBar.IntruderAlert"
     38         parent="@*android:style/TextAppearance.StatusBar">
     39     </style>
     40 
     41     <style name="TextAppearance.StatusBar.SystemPanel"
     42         parent="@*android:style/TextAppearance.StatusBar">
     43         <item name="android:textAppearance">?android:attr/textAppearance</item>
     44         <item name="android:textStyle">normal</item>
     45         <item name="android:textColor">#FF808080</item>
     46     </style>
     47 
     48     <style name="TextAppearance.StatusBar.TextButton"
     49         parent="@*android:style/TextAppearance.StatusBar">
     50         <item name="android:textAppearance">?android:attr/textAppearance</item>
     51         <item name="android:textStyle">normal</item>
     52         <item name="android:textColor">#FFFFFFFF</item>
     53     </style>
     54 
     55     <style name="TextAppearance.StatusBar.Clock" parent="@*android:style/TextAppearance.StatusBar.Icon">
     56         <!-- Note: must be dp to fit in status bar -->
     57         <item name="android:textSize">16dp</item>
     58         <item name="android:textStyle">normal</item>
     59         <item name="android:textColor">@android:color/holo_blue_light</item>
     60     </style>
     61 
     62     <style name="TextAppearance.StatusBar.Date" parent="@*android:style/TextAppearance.StatusBar.Icon">
     63         <item name="android:textSize">16dp</item>
     64         <item name="android:textStyle">normal</item>
     65         <item name="android:textColor">@android:color/holo_blue_light</item>
     66     </style>
     67 
     68     <style name="TextAppearance.StatusBar.Expanded" parent="@*android:style/TextAppearance.StatusBar" />
     69 
     70     <style name="TextAppearance.StatusBar.Expanded.Clock">
     71         <item name="android:textSize">32dp</item>
     72         <item name="android:fontFamily">sans-serif-light</item>
     73         <item name="android:textStyle">normal</item>
     74         <item name="android:textColor">#ffffff</item>
     75     </style>
     76 
     77     <style name="TextAppearance.StatusBar.Expanded.Date">
     78         <item name="android:textSize">12dp</item>
     79         <item name="android:textStyle">normal</item>
     80         <item name="android:textColor">#cccccc</item>
     81         <item name="android:textAllCaps">true</item>
     82     </style>
     83 
     84     <style name="TextAppearance.StatusBar.Expanded.Network" parent="@style/TextAppearance.StatusBar.Expanded.Date">
     85         <item name="android:textColor">#999999</item>
     86 	</style>
     87 
     88     <style name="TextAppearance.StatusBar.Expanded.Network.EmergencyOnly">
     89     </style>
     90 
     91     <style name="TextAppearance" />
     92     <style name="TextAppearance.QuickSettings" />
     93 
     94     <style name="TextAppearance.QuickSettings.TileView">
     95         <item name="android:textSize">12dp</item>
     96         <item name="android:textStyle">normal</item>
     97         <item name="android:textColor">#CCCCCC</item>
     98         <item name="android:textAllCaps">true</item>
     99         <item name="android:paddingStart">6dp</item>
    100         <item name="android:paddingEnd">6dp</item>
    101     </style>
    102 
    103     <style name="TextAppearance.QuickSettings.TileView.AllInOne" parent="@style/TextAppearance.QuickSettings.TileView">
    104         <item name="android:lines">2</item>
    105         <item name="android:gravity">top</item>
    106         <item name="android:paddingBottom">2dp</item>
    107         <item name="android:paddingTop">16dp</item>
    108         <item name="android:drawablePadding">8dp</item>
    109     </style>
    110 
    111     <style name="TextAppearance.QuickSettings.Clock" parent="@style/TextAppearance.QuickSettings.TileView">
    112         <item name="android:textSize">20dp</item>
    113         <item name="android:textColor">@android:color/holo_blue_light</item>
    114     </style>
    115 
    116     <style name="TextAppearance.QuickSettings.Date" parent="@style/TextAppearance.QuickSettings.TileView">
    117         <item name="android:textSize">14dp</item>
    118     </style>
    119 
    120     <style name="TextAppearance.QuickSettings.Alarm" parent="@style/TextAppearance.QuickSettings.TileView">
    121         <item name="android:textSize">14dp</item>
    122         <item name="android:textColor">#ff3a3b39</item>
    123     </style>
    124 
    125     <style name="TextAppearance.QuickSettings.TileView.User" parent="@style/TextAppearance.QuickSettings.TileView">
    126         <item name="android:background">#CC000000</item>
    127         <item name="android:padding">4dp</item>
    128         <item name="android:singleLine">true</item>
    129         <item name="android:fadingEdge">horizontal</item>
    130     </style>
    131 
    132     <style name="BaseBrightnessDialogContainer">
    133         <item name="android:layout_width">match_parent</item>
    134         <item name="android:layout_height">wrap_content</item>
    135         <item name="android:layout_marginLeft">8dp</item>
    136         <item name="android:layout_marginRight">8dp</item>
    137         <item name="android:padding">16dp</item>
    138     </style>
    139     <style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" />
    140 
    141     <style name="Animation" />
    142 
    143     <style name="Animation.ShirtPocketPanel">
    144         <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
    145         <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
    146     </style>
    147 
    148     <style name="Animation.RecentPanel">
    149         <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
    150         <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
    151     </style>
    152 
    153     <!-- Standard animations for hiding and showing the status bar. -->
    154     <style name="Animation.StatusBar">
    155     </style>
    156 
    157     <style name="Animation.StatusBar.IntruderAlert">
    158         <item name="android:windowEnterAnimation">@anim/priority_alert_enter</item>
    159         <item name="android:windowExitAnimation">@anim/priority_alert_exit</item>
    160     </style>
    161 
    162     <style name="TextAppearance.StatusBar.PhoneTicker"
    163         parent="@*android:style/TextAppearance.StatusBar.Ticker">
    164         <!-- Note: must be dp to fit in status bar -->
    165         <item name="android:textSize">14dp</item>
    166     </style>
    167     
    168     <style name="ClingButton">
    169         <item name="android:layout_width">wrap_content</item>
    170         <item name="android:layout_height">wrap_content</item>
    171         <item name="android:paddingTop">10dp</item>
    172         <item name="android:paddingBottom">15dp</item>
    173         <item name="android:paddingLeft">35dp</item>
    174         <item name="android:paddingRight">35dp</item>
    175         <item name="android:textStyle">bold</item>
    176         <item name="android:background">@drawable/cling_button_bg</item>
    177     </style>
    178     <style name="ClingTitleText">
    179         <item name="android:layout_width">wrap_content</item>
    180         <item name="android:layout_height">wrap_content</item>
    181         <item name="android:layout_marginBottom">5dp</item>
    182         <item name="android:textSize">23sp</item>
    183         <item name="android:textColor">#49C0EC</item>
    184         <item name="android:shadowColor">#000000</item>
    185         <item name="android:shadowDy">2</item>
    186         <item name="android:shadowRadius">2.0</item>
    187     </style>
    188     <style name="ClingText">
    189         <item name="android:textSize">15sp</item>
    190         <item name="android:textColor">#FFFFFF</item>
    191         <item name="android:shadowColor">#000000</item>
    192         <item name="android:shadowDy">2</item>
    193         <item name="android:shadowRadius">2.0</item>
    194         <item name="android:lineSpacingMultiplier">1.1</item>
    195     </style>
    196 
    197 </resources>
    198