styles.xml revision 3d91a08535b26b5d4e13362d57ca2483647f1e4c
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="ComposeBodyStyle">
36        <item name="android:layout_height">wrap_content</item>
37        <item name="android:layout_width">match_parent</item>
38        <item name="android:gravity">center_vertical</item>
39        <item name="android:layout_gravity">center_vertical</item>
40        <item name="android:inputType">textLongMessage|textMultiLine|textAutoCorrect|textCapSentences</item>
41        <item name="android:imeOptions">flagNoExtractUi|actionDone|flagNoEnterAction</item>
42        <item name="android:textColorHint">@color/compose_label_text</item>
43        <item name="android:background">@null</item>
44        <item name="android:minHeight">42dip</item>
45    </style>
46
47    <style name="RecipientComposeFieldSpacer">
48        <item name="android:layout_width">match_parent</item>
49        <item name="android:layout_height">4dip</item>
50    </style>
51
52    <style name="ComposeHeading">
53        <item name="android:layout_width">wrap_content</item>
54        <item name="android:layout_height">wrap_content</item>
55        <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
56        <item name="android:textColor">@color/compose_label_text</item>
57        <item name="android:layout_gravity">center_vertical</item>
58     </style>
59
60    <style name="RecipientComposeHeading" parent="@style/ComposeHeading">
61        <item name="android:layout_marginRight">4dip</item>
62        <item name="android:layout_marginTop">4dip</item>
63        <item name="android:paddingLeft">0dip</item>
64        <item name="android:layout_marginLeft">0dip</item>
65     </style>
66
67    <style name="ComposeFieldLayout" parent="android:Widget.Holo.Light.EditText">
68        <item name="android:layout_height">wrap_content</item>
69        <item name="android:layout_width">match_parent</item>
70        <item name="android:addStatesFromChildren">true</item>
71        <item name="android:focusable">false</item>
72        <item name="android:focusableInTouchMode">false</item>
73        <item name="android:gravity">center_vertical</item>
74        <item name="android:paddingTop">0dip</item>
75    </style>
76
77    <style name="RecipientComposeFieldLayout" parent="@style/ComposeFieldLayout">
78        <item name="android:orientation">vertical</item>
79    </style>
80
81    <style name="AccountSwitchSpinnerItem">
82        <item name="android:layout_width">308dip</item>
83    </style>
84
85    <style name="AccountSpinnerAnchorTextPrimary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
86    </style>
87
88    <style name="unreadCountActionBarTablet" parent="@style/unreadCountActionBar">
89        <item name="android:layout_marginLeft">8dp</item>
90        <item name="android:layout_width">wrap_content</item>
91    </style>
92</resources>
93