Merge "Allow tablet to use different styles than phone for chips fields."
This commit is contained in:
commit
18601838be
@ -22,7 +22,7 @@
|
||||
/>
|
||||
<EditText
|
||||
android:id="@+id/subject"
|
||||
style="@style/EmailRecipientEditTextView"
|
||||
style="@style/EmailComposeEditTextView"
|
||||
android:inputType
|
||||
="textEmailSubject|textAutoCorrect|textCapSentences|textImeMultiLine"
|
||||
android:imeOptions="actionNext"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user