Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 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>
     18     <drawable name="separator_red">#FFAE1200</drawable>
     19     <drawable name="separator_green">#FF008115</drawable>
     20     <drawable name="grayBg">#FF333333</drawable>
     21 
     22     <style name="Incoming">
     23         <item name="android:windowFrame">@null</item>
     24         <item name="android:windowBackground">@null</item>
     25     </style>
     26 
     27     <style name="IccPanel">
     28         <item name="android:windowFrame">@null</item>
     29         <item name="android:windowBackground">@drawable/grayBg</item>
     30     </style>
     31 
     32     <style name="AlertPanel">
     33         <item name="android:windowFrame">@null</item>
     34         <item name="android:windowBackground">@drawable/grayBg</item>
     35     </style>
     36 
     37     <style name="info_label">
     38         <item name="android:layout_height">wrap_content</item>
     39         <item name="android:layout_width">wrap_content</item>
     40         <item name="android:textAppearance">@style/TextAppearance.info_label</item>
     41         <item name="android:paddingRight">4dip</item>
     42     </style>
     43 
     44     <style name="info_layout">
     45         <item name="android:orientation">vertical</item>
     46         <item name="android:paddingLeft">10dip</item>
     47         <item name="android:paddingTop">10dip</item>
     48         <item name="android:paddingRight">10dip</item>
     49         <item name="android:paddingBottom">10dip</item>
     50         <item name="android:layout_width">match_parent</item>
     51         <item name="android:layout_height">match_parent</item>
     52     </style>
     53 
     54     <style name="entry_layout">
     55         <item name="android:orientation">vertical</item>
     56         <item name="android:layout_width">wrap_content</item>
     57         <item name="android:layout_height">wrap_content</item>
     58     </style>
     59 
     60     <style name="TextAppearance" parent="android:TextAppearance">
     61     </style>
     62 
     63     <style name="TextAppearance.info_label">
     64         <item name="android:textSize">14sp</item>
     65         <item name="android:textStyle">bold</item>
     66     </style>
     67 
     68     <style name="incall_top_button" parent="android:Widget.Button">
     69         <item name="android:gravity">center_vertical</item>
     70         <item name="android:layout_width">0sp</item>
     71         <item name="android:layout_weight">1</item>
     72         <item name="android:layout_height">match_parent</item>
     73         <item name="android:padding">0dip</item>
     74         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
     75         <item name="android:textColor">#000</item>
     76     </style>
     77 
     78     <style name="TextAppearance.DialerLine1" parent="@android:style/TextAppearance.Widget.Button">
     79         <item name="android:textSize">32sp</item>
     80         <item name="android:textColor">@color/dialer_button_text</item>
     81         <item name="android:textStyle">bold</item>
     82     </style>
     83 
     84     <style name="TextAppearance.DialerLine2" parent="@android:style/TextAppearance.Widget.Button">
     85         <item name="android:textSize">18sp</item>
     86         <item name="android:textColor">@color/dialer_button_text</item>
     87     </style>
     88 
     89     <style name="TextAppearance.EmergencyDialerLine1" parent="@android:style/TextAppearance.Widget.Button">
     90         <item name="android:textSize">22sp</item>
     91         <item name="android:textColor">#ffffff</item>
     92     </style>
     93 
     94     <style name="TextAppearance.EmergencyDialerLine2" parent="@android:style/TextAppearance.Widget.Button">
     95         <item name="android:textSize">14sp</item>
     96         <item name="android:textColor">#ffffff</item>
     97     </style>
     98 
     99     <!-- Preference Style for the phone number preferences -->
    100     <style name="EditPhoneNumberPreference">
    101         <item name="enableButtonText">@string/enable</item>
    102         <item name="disableButtonText">@string/disable</item>
    103         <item name="changeNumButtonText">@string/change_num</item>
    104         <item name="confirmMode">activation</item>
    105     </style>
    106 
    107     <!-- Preference Style for the emergency callback mode -->
    108     <!-- This styles is currently not used and just prepared for further usage -->
    109     <style name="EmergencyCallBack">
    110         <item name="android:textSize">20sp</item>
    111         <item name="android:textColor">#ffffff</item>
    112         <item name="android:windowNoTitle">true</item>
    113         <item name="android:colorForeground">#fff</item>
    114     </style>
    115 
    116     <!-- Preference Style for the ERI text -->
    117     <style name="EriWidgetBackground">
    118     </style>
    119 
    120     <style name="TextAppearance.EriWidget">
    121         <item name="android:textSize">16sp</item>
    122         <item name="android:textStyle">bold</item>
    123         <item name="android:textColor">@android:color/black</item>
    124     </style>
    125 
    126     <!-- OTA Call Card styles -->
    127     <style name="ccOtaButtonBar">
    128         <!-- TODO: change height to 'wrap_content' when layout bug is fixed -->
    129         <item name="android:layout_height">60dip</item> 
    130         <item name="android:layout_width">match_parent</item>
    131         <item name="android:background">@android:drawable/bottom_bar</item>
    132     </style>
    133 
    134     <style name="ccOtaButton">
    135         <item name="android:layout_width">150dip</item>
    136         <item name="android:layout_height">wrap_content</item>
    137         <item name="android:layout_marginTop">5dip</item>
    138         <item name="android:layout_marginBottom">5dip</item>
    139     </style>
    140 
    141     <style name="ccOtaNextButton" parent="ccOtaButton">
    142         <!-- <item name="android:drawableRight">@drawable/ic_btn_next</item>
    143              <item name="android:drawablePadding">10dip</item>
    144           -->
    145         <item name="android:layout_alignParentBottom">true</item>
    146         <item name="android:layout_alignParentRight">true</item>
    147         <item name="android:layout_marginRight">4dip</item>
    148     </style>
    149 
    150     <style name="ccOtaSkipButton" parent="ccOtaButton">
    151         <item name="android:layout_alignParentBottom">true</item>
    152         <item name="android:layout_alignParentLeft">true</item>
    153         <item name="android:layout_marginLeft">4dip</item>
    154     </style>
    155 
    156     <style name="ccOtaDialVisible">
    157         <item name="android:visibility">visible</item>
    158     </style>
    159 
    160     <style name="ccOtaWizardTitle">
    161         <item name="android:textSize">22sp</item>
    162         <item name="android:textColor">@color/ota_title_color</item>
    163     </style>
    164 
    165     <style name="ccOtaTextPrimary">
    166         <item name="android:textColor">?android:attr/textColorPrimary</item>
    167         <item name="android:textSize">17sp</item>
    168     </style>
    169 
    170     <!-- Buttons in the main "button row" of the in-call onscreen touch UI. -->
    171     <style name="InCallButton">
    172         <item name="android:layout_width">@dimen/in_call_button_width</item>
    173         <item name="android:layout_height">@dimen/in_call_button_height</item>
    174         <item name="android:background">?android:attr/selectableItemBackground</item>
    175     </style>
    176 
    177     <!-- "Compound button" variation of InCallButton.
    178          These buttons have the concept of two states: checked and unchecked.
    179          (This style is just like "InCallButton" except that we also
    180          clear out android:textOn and android:textOff, to avoid the default
    181          text label behavior of the ToggleButton class.) -->
    182     <style name="InCallCompoundButton" parent="InCallButton">
    183         <item name="android:textOn">@null</item>
    184         <item name="android:textOff">@null</item>
    185     </style>
    186 
    187     <!-- "End" button; similar to InCallButton. -->
    188     <style name="InCallEndButton">
    189         <item name="android:layout_width">0dip</item>
    190         <item name="android:layout_height">@dimen/in_call_end_button_height</item>
    191         <item name="android:layout_weight">1</item>
    192         <item name="android:background">?android:attr/selectableItemBackground</item>
    193     </style>
    194 
    195     <!-- Text label drawn alongside buttons in the "extra button row" of
    196          the in-call onscreen touch UI. -->
    197     <style name="InCallExtraRowButtonLabel">
    198         <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>
    199         <item name="android:textColor">@color/incall_call_banner_text_color</item>
    200         <item name="android:textAllCaps">true</item>
    201         <item name="android:textStyle">bold</item>
    202         <item name="android:layout_width">wrap_content</item>
    203         <item name="android:layout_height">wrap_content</item>
    204         <item name="android:layout_gravity">center_vertical</item>
    205         <item name="android:layout_marginLeft">5dip</item>
    206         <item name="android:layout_marginRight">5dip</item>
    207     </style>
    208 
    209     <!-- Theme for the activity com.android.phone.Settings, which is the
    210          "Mobile network settings" screen (used on non-voice-capable
    211          tablets as well as regular phone devices.) -->
    212     <style name="Theme.Settings" parent="@android:style/Theme.Holo.DialogWhenLarge">
    213         <item name="android:windowCloseOnTouchOutside">true</item>
    214     </style>
    215 
    216     <!-- Theme for the InCallScreen activity.  This gives us a totally black
    217          window background instead of the default dark grey.  (We don't just use
    218          Theme.Black.NoTitleBar directly, since we want any popups or dialogs
    219          from the InCallScreen to have the correct holo style. -->
    220     <style name="Theme.InCallScreen" parent="@android:style/Theme.Holo.NoActionBar">
    221         <item name="android:windowBackground">@android:color/black</item>
    222     </style>
    223 
    224     <style name="DialpadButtonStyle">
    225         <item name="android:layout_width">0dip</item>
    226         <item name="android:layout_height">match_parent</item>
    227         <item name="android:layout_weight">1</item>
    228         <item name="android:background">?android:attr/selectableItemBackground</item>
    229         <item name="android:soundEffectsEnabled">false</item>
    230     </style>
    231 
    232     <style name="ContactsActionBarStyle"
    233            parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
    234         <item name="android:background">@color/people_app_theme_color</item>
    235         <item name="android:backgroundStacked">@color/people_app_theme_color</item>
    236     </style>
    237 
    238     <style name="SimImportTheme"
    239            parent="@android:style/Theme.Holo.Light.DarkActionBar">
    240         <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
    241     </style>
    242 
    243     <style name="EmergencyDialerTheme" parent="@android:style/Theme.Holo">
    244         <item name="android:windowBackground">@android:color/black</item>
    245     </style>
    246 
    247 </resources>
    248