Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4  * Copyright (C) 2011 Google Inc.
      5  * Licensed to 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="RecipientEditTextViewStyle" parent="@style/RecipientEditTextView">
     23         <item name="android:minHeight">42dip</item>
     24         <item name="android:gravity">bottom</item>
     25     </style>
     26 
     27     <style name="ComposeEditTextView">
     28         <item name="android:minHeight">44dip</item>
     29         <item name="android:layout_gravity">center_vertical</item>
     30         <item name="android:layout_height">wrap_content</item>
     31         <item name="android:layout_width">match_parent</item>
     32         <item name="android:background">@null</item>
     33     </style>
     34 
     35     <style name="RecipientComposeFieldSpacer">
     36         <item name="android:layout_width">match_parent</item>
     37         <item name="android:layout_height">4dip</item>
     38     </style>
     39 
     40     <style name="ComposeHeading">
     41         <item name="android:layout_width">wrap_content</item>
     42         <item name="android:layout_height">wrap_content</item>
     43         <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
     44         <item name="android:textColor">@color/compose_label_text</item>
     45         <item name="android:paddingLeft">8dip</item>
     46         <item name="android:layout_gravity">center_vertical</item>
     47      </style>
     48 
     49     <style name="RecipientComposeHeading" parent="@style/ComposeHeading">
     50         <item name="android:layout_marginRight">4dip</item>
     51         <item name="android:layout_marginTop">4dip</item>
     52         <item name="android:paddingLeft">0dip</item>
     53      </style>
     54 
     55     <style name="ComposeFieldLayout" parent="android:Widget.Holo.Light.EditText">
     56         <item name="android:layout_height">wrap_content</item>
     57         <item name="android:layout_width">match_parent</item>
     58         <item name="android:addStatesFromChildren">true</item>
     59         <item name="android:focusable">false</item>
     60         <item name="android:focusableInTouchMode">false</item>
     61         <item name="android:gravity">center_vertical</item>
     62         <item name="android:paddingTop">0dip</item>
     63     </style>
     64 
     65     <style name="RecipientComposeFieldLayout" parent="@style/ComposeFieldLayout">
     66         <item name="android:orientation">vertical</item>
     67     </style>
     68 
     69     <style name="ComposeBodyStyle">
     70         <item name="android:layout_height">wrap_content</item>
     71         <item name="android:layout_width">match_parent</item>
     72         <item name="android:gravity">center_vertical</item>
     73         <item name="android:layout_gravity">center_vertical</item>
     74         <item name="android:inputType">textLongMessage|textMultiLine|textAutoCorrect|textCapSentences</item>
     75         <item name="android:imeOptions">flagNoFullscreen|actionDone|flagNoEnterAction</item>
     76         <item name="android:textColorHint">@color/compose_label_text</item>
     77         <item name="android:background">@null</item>
     78         <item name="android:minHeight">42dip</item>
     79     </style>
     80 
     81     <style name="ComposeButtonColumn">
     82         <item name="android:minWidth">100dip</item>
     83     </style>
     84 
     85     <style name="ComposeButton">
     86         <item name="android:padding">0dip</item>
     87         <item name="android:background">@android:color/transparent</item>
     88         <item name="android:layout_gravity">center_vertical|left</item>
     89         <item name="android:gravity">left</item>
     90         <item name="android:layout_width">wrap_content</item>
     91         <item name="android:layout_height">wrap_content</item>
     92         <item name="android:textSize">12sp</item>
     93         <item name="android:textColor">#777777</item>
     94         <item name="android:textStyle">bold</item>
     95         <item name="android:textAllCaps">true</item>
     96     </style>
     97 
     98     <style name="attachment_container">
     99         <item name="android:background">@drawable/attachment_bg_holo</item>
    100         <item name="android:layout_width">match_parent</item>
    101         <item name="android:layout_height">48dip</item>
    102     </style>
    103 
    104     <style name="attachment_name">
    105         <item name="android:layout_marginLeft">16dip</item>
    106         <item name="android:layout_marginRight">32dip</item>
    107         <item name="android:maxLines">1</item>
    108         <item name="android:layout_width">wrap_content</item>
    109         <item name="android:layout_height">wrap_content</item>
    110         <item name="android:textColor">@android:color/black</item>
    111         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    112         <item name="android:ellipsize">end</item>
    113     </style>
    114 
    115     <style name="attachment_size" parent="@style/attachment_name">
    116         <item name="android:textColor">#555555</item>
    117     </style>
    118 
    119     <style name="attachment_thumbnail">
    120         <item name="android:layout_marginLeft">8dip</item>
    121         <item name="android:layout_width">wrap_content</item>
    122         <item name="android:layout_height">wrap_content</item>
    123     </style>
    124 
    125     <style name="unreadCount">
    126         <item name="android:layout_width">wrap_content</item>
    127         <item name="android:layout_height">wrap_content</item>
    128         <item name="android:layout_gravity">center_vertical</item>
    129         <item name="android:layout_centerVertical">true</item>
    130         <item name="android:layout_marginLeft">8dip</item>
    131         <item name="android:singleLine">true</item>
    132         <item name="android:includeFontPadding">false</item>
    133         <item name="android:textSize">18sp</item>
    134         <item name="android:textColor">#bcbcbc</item>
    135     </style>
    136 
    137     <style name="unreadCountActionBar" parent="unreadCount">
    138         <item name="android:layout_marginRight">8dp</item>
    139         <item name="android:textColor">#bbbbbb</item>
    140         <!-- Use dp rather than sp for size since starts large and must not get too large -->
    141         <item name="android:textSize">36dp</item>
    142     </style>
    143 
    144     <style name="AccountSwitchSpinnerItem">
    145         <item name="android:layout_width">match_parent</item>
    146     </style>
    147 
    148     <style name="AccountSpinnerDropdownTextPrimary">
    149         <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
    150     </style>
    151 
    152     <style name="AccountSpinnerDropdownTextSecondary">
    153         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    154         <item name="android:textColor">@android:color/black</item>
    155     </style>
    156 
    157     <style name="AccountSpinnerAnchorTextPrimary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
    158     </style>
    159 
    160     <style name="AccountSpinnerAnchorTextSecondary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
    161         <item name="android:textColor">@color/actionbar_secondary</item>
    162     </style>
    163 
    164     <style name="NotificationPrimaryText">
    165         <item name="android:textColor">#cccccc</item>
    166     </style>
    167 
    168     <style name="NotificationSecondaryText">
    169     </style>
    170 
    171 </resources>
    172