replicant-packages_apps_Email/res/values-sw600dp/styles.xml
Ben Komalo afdec1caf1 Tweak message header actions.
Once again, I missed an asset in the drop, since there is actually a
sepcialized one for the message view.

Also, use styles to fill out the entire height to the header to make the
touch targets bigger, as consistent with Gmail.

Bug: 5290357
Change-Id: I6754b3ef986dbf57c7c68bc595cf54cc9d76123a
2011-09-12 12:39:30 -07:00

177 lines
7.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Specializations for tablet screens - most colors are in values/colors.xml -->
<resources>
<!-- The headline at the top of every account settings fragments (in preferences) -->
<style name="accountSettingsHeadline">
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
</style>
<!-- The large headline at the top of every account setup screen -->
<style name="accountSetupHeadline">
<item name="android:textSize">30sp</item>
<item name="android:textColor">@color/account_setup_headline_color</item>
</style>
<!-- Info text in any account setup screen -->
<style name="accountSetupInfoText">
<item name="android:textSize">18sp</item>
<item name="android:textColor">@color/account_setup_info_text_color</item>
</style>
<!-- Item labels in any account setup screen -->
<style name="accountSetupLabelText">
<item name="android:textSize">14sp</item>
<item name="android:textColor">@color/account_setup_label_text_color</item>
</style>
<!-- Wizard buttons on the account setup screens -->
<style name="accountSetupButton">
<item name="android:layout_width">208sp</item>
<item name="android:layout_height">48sp</item>
<item name="android:textSize">18sp</item>
</style>
<!-- Cancel/Done buttons on the account settings (server settings) fragments -->
<style name="accountSettingsButton">
<item name="android:layout_width">208sp</item>
<item name="android:layout_height">48sp</item>
<item name="android:textSize">18sp</item>
</style>
<!-- Message view -->
<style name="message_view_horizontal_divider">
<item name="android:layout_height">2dip</item>
<item name="android:background">?android:attr/dividerHorizontal</item>
</style>
<style name="message_compose_horizontal_divider">
<item name="android:layout_height">1dip</item>
<item name="android:background">?android:attr/dividerHorizontal</item>
</style>
<style name="message_compose_header_field_container_no_tray" parent="PlainEditText">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:orientation">horizontal</item>
</style>
<style name="message_compose_header_field_container" parent="@android:style/Widget.AutoCompleteTextView">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:paddingLeft">0dip</item>
<item name="android:orientation">horizontal</item>
<item name="android:addStatesFromChildren">true</item>
<item name="android:focusable">false</item>
<item name="android:focusableInTouchMode">false</item>
</style>
<style name="message_compose_header_field_label">
<item name="android:layout_width">@dimen/message_compose_field_label_width</item>
<item name="android:layout_height">48dip</item>
<item name="android:layout_weight">0</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingTop">0dip</item>
<item name="android:paddingBottom">0dip</item>
<item name="android:paddingLeft">16dip</item>
<item name="android:paddingRight">16dip</item>
<item name="android:ellipsize">end</item>
<item name="android:singleLine">true</item>
<item name="android:textSize">18dip</item>
<item name="android:textColor">@color/text_secondary_color</item>
</style>
<style name="message_compose_header_field_value" parent="PlainEditText">
<item name="android:layout_width">0dip</item>
<item name="android:layout_height">48dip</item>
<item name="android:layout_weight">1</item>
<item name="android:gravity">center_vertical</item>
<item name="android:paddingTop">0dip</item>
<item name="android:paddingBottom">0dip</item>
<item name="android:paddingLeft">0dip</item>
<item name="android:paddingRight">0dip</item>
<item name="android:textSize">18dip</item>
<item name="android:textColor">@color/text_primary_color</item>
<item name="android:singleLine">true</item>
</style>
<style name="message_view_action_buttons" parent="android:Widget.Holo.Button.Borderless">
<item name="android:layout_width">56dip</item>
<item name="android:layout_height">56dip</item>
<item name="android:scaleType">center</item>
</style>
<style name="message_header_sender_name">
<item name="android:textSize">18dip</item>
<item name="android:textColor">@color/text_primary_color_inverse</item>
<item name="android:textStyle">bold</item>
<item name="android:singleLine">true</item>
<item name="android:ellipsize">end</item>
</style>
<style name="message_header_sender_address">
<item name="android:textSize">14dip</item>
<item name="android:textColor">@color/text_secondary_color_inverse</item>
<item name="android:singleLine">true</item>
<item name="android:ellipsize">end</item>
</style>
<style name="accountSetupTypePrevious" parent="@style/accountSetupButton">
<item name="android:layout_toRightOf">@+id/main_content"</item>
<item name="android:layout_alignParentRight">true</item>
</style>
<style name="action_bar_custom_view">
<item name="android:layout_width">350dip</item>
<item name="android:layout_height">match_parent</item>
</style>
<style name="action_bar_spinner_primary_text">
<item name="android:includeFontPadding">false</item>
<item name="android:textSize">18sp</item>
<item name="android:textColor">@color/text_primary_color</item>
<item name="android:singleLine">true</item>
<item name="android:ellipsize">end</item>
</style>
<style name="action_bar_spinner_secondary_text">
<item name="android:visibility">gone</item>
</style>
<style name="Attachment.Button" parent="@android:style/Widget.Holo.Button.Borderless">
<item name="android:layout_width">0dip</item>
<item name="android:layout_weight">1</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_marginLeft">16dip</item>
<item name="android:layout_marginRight">16dip</item>
<item name="android:padding">0dip</item>
<item name="android:textColor">@color/buttontext</item>
<item name="android:textSize">14dip</item>
<item name="android:textStyle">bold</item>
<item name="android:singleLine">true</item>
<item name="android:ellipsize">end</item>
<item name="android:gravity">center</item>
</style>
<style name="message_list_item_normal">
<item name="android:paddingLeft">16dip</item>
<item name="android:paddingRight">32dip</item>
</style>
<style name="message_list_item_wide">
<item name="android:paddingLeft">16dip</item>
<item name="android:paddingRight">16dip</item>
</style>
</resources>