Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* //device/apps/Calendar/assets/res/any/styles.xml
      4 **
      5 ** Copyright 2006, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 <resources>
     21 
     22     <style name="Alert" parent="android:Theme.Dialog">
     23         <item name="android:windowBackground">@null</item>
     24     </style>
     25 
     26     <style name="MinusButton">
     27         <item name="android:background">@drawable/btn_circle</item>
     28         <item name="android:src">@drawable/ic_btn_round_minus</item>
     29     </style>
     30 
     31     <style name="PlusButton">
     32         <item name="android:background">@drawable/btn_circle</item>
     33         <item name="android:src">@drawable/ic_btn_round_plus</item>
     34     </style>
     35 
     36     <style name="MonthView_DayLabel">
     37         <item name="android:layout_width">29dip</item>
     38         <item name="android:layout_height">match_parent</item>
     39         <item name="android:layout_weight">1</item>
     40         <item name="android:gravity">center</item>
     41         <item name="android:paddingTop">2dip</item>
     42         <item name="android:paddingBottom">2dip</item>
     43         <item name="android:textAppearance">@style/TextAppearance.MonthView_DayLabel</item>
     44     </style>
     45 
     46     <style name="TextAppearance" parent="android:TextAppearance">
     47     </style>
     48 
     49     <style name="TextAppearance.MonthView_DayLabel">
     50         <item name="android:textSize">14sp</item>
     51         <item name="android:textStyle">bold</item>
     52         <item name="android:textColor">@color/daynames_text_color</item>
     53     </style>
     54 
     55     <style name="TextAppearance.AgendaView_ValueLabel">
     56         <item name="android:textSize">14sp</item>
     57         <item name="android:textColor">@android:color/black</item>
     58     </style>
     59 
     60     <style name="TextAppearance.EditEvent_Label">
     61         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     62         <item name="android:textColor">?android:attr/textColorSecondaryInverse</item>
     63         <item name="android:textStyle">bold</item>
     64         <item name="android:paddingLeft">2dip</item>
     65     </style>
     66 
     67     <style name="TextAppearance.EventInfo_Label">
     68         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     69         <item name="android:textColor">?android:attr/textColorSecondary</item>
     70         <item name="android:textStyle">bold</item>
     71         <item name="android:paddingLeft">2dip</item>
     72     </style>
     73 
     74     <style name="EditEvent_Layout">
     75         <item name="android:paddingLeft">6dip</item>
     76         <item name="android:paddingRight">7dip</item>
     77         <item name="android:paddingTop">8dip</item>
     78     </style>
     79 
     80     <style name="TextAppearance.Alert_Title">
     81         <item name="android:textSize">18sp</item>
     82         <item name="android:textColor">@android:color/white</item>
     83     </style>
     84 
     85     <style name="TextAppearance.Alert_Label">
     86         <item name="android:textSize">14sp</item>
     87         <item name="android:textStyle">bold</item>
     88         <item name="android:textColor">@android:color/white</item>
     89     </style>
     90 
     91     <style name="TextAppearance.Alert_Value">
     92         <item name="android:textSize">14sp</item>
     93         <item name="android:textColor">@android:color/white</item>
     94     </style>
     95 
     96     <style name="CalendarTheme" parent="android:Theme.Light.NoTitleBar">
     97         <item name="android:windowContentOverlay">@null</item>
     98     </style>
     99 
    100     <style name="MultiStateButton">
    101         <item name="android:focusable">true</item>
    102         <item name="android:clickable">true</item>
    103         <item name="android:textAppearance">?android:attr/textAppearanceSmallInverse</item>
    104         <item name="android:textColor">@android:color/primary_text_light</item>
    105         <item name="android:gravity">center_vertical|left</item>
    106     </style>
    107 
    108 </resources>
    109