Allow tablet to use different styles than phone for chips fields.

Fixes bug:5390583 To,CC & BCC field titles are aligned middle of the row in Email

Change-Id: Ia44ae510d740101d1cbbf1c59f233a2cd9d9af99
This commit is contained in:
Mindy Pereira 2011-10-10 10:13:09 -07:00
parent c35c4b14c9
commit b291d7cd24
2 changed files with 35 additions and 1 deletions

View File

@ -22,7 +22,7 @@
/>
<EditText
android:id="@+id/subject"
style="@style/EmailRecipientEditTextView"
style="@style/EmailComposeEditTextView"
android:inputType
="textEmailSubject|textAutoCorrect|textCapSentences|textImeMultiLine"
android:imeOptions="actionNext"

View File

@ -174,4 +174,38 @@
<item name="android:paddingLeft">16dip</item>
<item name="android:paddingRight">16dip</item>
</style>
<style name="RecipientComposeHeading">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textSize">18sp</item>
<item name="android:textColor">@color/compose_label_text</item>
<item name="android:layout_gravity">center_vertical</item>
</style>
<style name="ComposeFieldRelLayout" parent="android:Widget.Holo.Light.EditText">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">match_parent</item>
<item name="android:addStatesFromChildren">true</item>
<item name="android:focusable">false</item>
<item name="android:focusableInTouchMode">false</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="RecipientComposeFieldLayout" parent="@style/ComposeFieldRelLayout">
</style>
<style name="EmailRecipientEditTextView" parent="@style/RecipientEditTextView">
<item name="android:minHeight">0dip</item>
<item name="android:gravity">center_vertical</item>
</style>
<style name="EmailComposeEditTextView">
<item name="android:minHeight">0dip</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">match_parent</item>
<item name="android:background">@null</item>
</style>
</resources>