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:paddingLeft">6dp</item>
     96         <item name="android:paddingRight">6dp</item>
     97         <item name="android:paddingBottom">2dp</item>
     98         <item name="android:drawablePadding">12dp</item>
     99         <item name="android:textSize">12dp</item>
    100         <item name="android:textStyle">normal</item>
    101         <item name="android:textColor">#CCCCCC</item>
    102         <item name="android:textAllCaps">true</item>
    103         <item name="android:singleLine">true</item>
    104         <item name="android:ellipsize">marquee</item>
    105         <item name="android:fadingEdge">horizontal</item>
    106     </style>
    107 
    108     <style name="TextAppearance.QuickSettings.Clock" parent="@style/TextAppearance.QuickSettings.TileView">
    109         <item name="android:textSize">20dp</item>
    110         <item name="android:textColor">@android:color/holo_blue_light</item>
    111     </style>
    112 
    113     <style name="TextAppearance.QuickSettings.Date" parent="@style/TextAppearance.QuickSettings.TileView">
    114         <item name="android:textSize">14dp</item>
    115     </style>
    116 
    117     <style name="TextAppearance.QuickSettings.Alarm" parent="@style/TextAppearance.QuickSettings.TileView">
    118         <item name="android:textSize">14dp</item>
    119         <item name="android:textColor">#ff3a3b39</item>
    120     </style>
    121 
    122     <style name="BaseBrightnessDialogContainer">
    123         <item name="android:layout_width">match_parent</item>
    124         <item name="android:layout_height">wrap_content</item>
    125         <item name="android:layout_marginLeft">8dp</item>
    126         <item name="android:layout_marginRight">8dp</item>
    127         <item name="android:padding">16dp</item>
    128     </style>
    129     <style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" />
    130 
    131     <style name="Animation" />
    132 
    133     <style name="Animation.ShirtPocketPanel">
    134         <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
    135         <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
    136     </style>
    137 
    138     <style name="Animation.RecentPanel">
    139         <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_from_bottom</item>
    140         <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_from_bottom</item>
    141     </style>
    142 
    143     <!-- Standard animations for hiding and showing the status bar. -->
    144     <style name="Animation.StatusBar">
    145     </style>
    146 
    147     <style name="Animation.StatusBar.IntruderAlert">
    148         <item name="android:windowEnterAnimation">@anim/priority_alert_enter</item>
    149         <item name="android:windowExitAnimation">@anim/priority_alert_exit</item>
    150     </style>
    151 
    152     <style name="TextAppearance.StatusBar.PhoneTicker"
    153         parent="@*android:style/TextAppearance.StatusBar.Ticker">
    154         <!-- Note: must be dp to fit in status bar -->
    155         <item name="android:textSize">14dp</item>
    156     </style>
    157     
    158     <style name="ClingButton">
    159         <item name="android:layout_width">wrap_content</item>
    160         <item name="android:layout_height">wrap_content</item>
    161         <item name="android:paddingTop">10dp</item>
    162         <item name="android:paddingBottom">15dp</item>
    163         <item name="android:paddingLeft">35dp</item>
    164         <item name="android:paddingRight">35dp</item>
    165         <item name="android:textStyle">bold</item>
    166         <item name="android:background">@drawable/cling_button_bg</item>
    167     </style>
    168     <style name="ClingTitleText">
    169         <item name="android:layout_width">wrap_content</item>
    170         <item name="android:layout_height">wrap_content</item>
    171         <item name="android:layout_marginBottom">5dp</item>
    172         <item name="android:textSize">23sp</item>
    173         <item name="android:textColor">#49C0EC</item>
    174         <item name="android:shadowColor">#000000</item>
    175         <item name="android:shadowDy">2</item>
    176         <item name="android:shadowRadius">2.0</item>
    177     </style>
    178     <style name="ClingText">
    179         <item name="android:textSize">15sp</item>
    180         <item name="android:textColor">#FFFFFF</item>
    181         <item name="android:shadowColor">#000000</item>
    182         <item name="android:shadowDy">2</item>
    183         <item name="android:shadowRadius">2.0</item>
    184         <item name="android:lineSpacingMultiplier">1.1</item>
    185     </style>
    186 
    187 </resources>
    188