styles.xml revision 402af02fb7f17502672d95514ef783c05b1eca1d
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="RecipientComposeHeading">
23        <item name="android:layout_width">wrap_content</item>
24        <item name="android:layout_height">wrap_content</item>
25        <item name="android:textSize">18sp</item>
26        <item name="android:textColor">@color/compose_label_text</item>
27        <item name="android:layout_gravity">center_vertical</item>
28     </style>
29
30    <style name="ComposeFieldLayout" parent="android:Widget.Holo.Light.EditText">
31        <item name="android:layout_height">wrap_content</item>
32        <item name="android:layout_width">match_parent</item>
33        <item name="android:addStatesFromChildren">true</item>
34        <item name="android:focusable">false</item>
35        <item name="android:focusableInTouchMode">false</item>
36        <item name="android:gravity">center_vertical</item>
37    </style>
38
39    <style name="RecipientComposeFieldLayout" parent="@style/ComposeFieldLayout">
40    </style>
41
42    <style name="RecipientEditTextViewStyle" parent="@style/RecipientEditTextView">
43        <item name="android:minHeight">0dip</item>
44        <item name="android:gravity">center_vertical</item>
45    </style>
46
47    <style name="ComposeEditTextView">
48        <item name="android:minHeight">0dip</item>
49        <item name="android:layout_gravity">center_vertical</item>
50        <item name="android:layout_height">wrap_content</item>
51        <item name="android:layout_width">match_parent</item>
52        <item name="android:background">@null</item>
53    </style>
54
55    <style name="LargeComposeAreaBody" parent="@style/ComposeBodyStyle" >
56        <item name="android:background">@null</item>
57        <item name="android:minHeight">42dip</item>
58        <item name="android:layout_gravity">center_vertical</item>
59    </style>
60
61</resources>