From 9f976e29a0406a51dd7e15778625060d3e5e7031 Mon Sep 17 00:00:00 2001 From: Ben Komalo Date: Tue, 17 May 2011 19:35:08 -0700 Subject: [PATCH] DO NOT MERGE - Email support for 7" devices. - use XLarge layout for Large as well in most cases. - use XLarge portrait behavior for landscape and portrait for message list collapsing - some minor tweaks to account setup UI as the XLarge one didn't fit on large devices with the padding it specified Change-Id: I2a83e7239019b3feadcabe5fae61f0d13a628471 --- .../account_setup_basics.xml | 0 .../account_setup_exchange.xml | 0 .../account_setup_incoming.xml | 0 .../account_setup_names.xml | 0 .../account_setup_options.xml | 0 .../account_setup_outgoing.xml | 0 .../account_setup_basics.xml | 0 .../account_setup_exchange.xml | 0 .../account_setup_incoming.xml | 0 .../account_setup_names.xml | 0 .../account_setup_options.xml | 0 .../account_setup_outgoing.xml | 0 .../account_setup_account_type.xml | 24 ++++---- .../account_setup_basics_common.xml | 2 +- .../account_setup_exchange_fragment.xml | 2 +- .../account_setup_incoming_fragment.xml | 2 +- .../account_setup_names_common.xml | 2 +- .../account_setup_options_common.xml | 2 +- .../account_setup_outgoing_fragment.xml | 2 +- .../action_bar_current_mailbox.xml | 0 .../message_compose.xml | 2 +- .../message_compose_attachment.xml | 2 +- .../message_view_attachment.xml | 2 +- .../message_view_fragment.xml | 4 +- .../message_view_invitation.xml | 2 +- res/layout-w600dp/three_pane.xml | 26 +++++++++ res/layout-xlarge-land/three_pane.xml | 27 +++++++++ .../three_pane_collapsible_impl.xml} | 10 ++-- .../three_pane_impl.xml} | 10 ++-- res/values-large-land/dimen.xml | 24 ++++++++ res/values-large-port/styles.xml | 26 +++++++++ .../dimensions.xml | 2 +- .../styles.xml | 2 +- .../dimensions.xml | 3 - .../styles.xml | 2 +- res/values-w600dp/bools.xml | 19 +++++++ .../colors.xml | 1 - .../dimensions.xml | 2 +- .../styles.xml | 7 ++- res/values-xlarge-land/dimen.xml | 24 ++++++++ res/values/bools.xml | 19 +++++++ .../email/activity/ThreePaneLayout.java | 57 +++++++++++-------- src/com/android/email/activity/Welcome.java | 5 +- 43 files changed, 243 insertions(+), 71 deletions(-) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_basics.xml (100%) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_exchange.xml (100%) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_incoming.xml (100%) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_names.xml (100%) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_options.xml (100%) rename res/{layout-xlarge-land => layout-w600dp-land}/account_setup_outgoing.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_basics.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_exchange.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_incoming.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_names.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_options.xml (100%) rename res/{layout-xlarge-port => layout-w600dp-port}/account_setup_outgoing.xml (100%) rename res/{layout-xlarge => layout-w600dp}/account_setup_account_type.xml (93%) rename res/{layout-xlarge => layout-w600dp}/account_setup_basics_common.xml (99%) rename res/{layout-xlarge => layout-w600dp}/account_setup_exchange_fragment.xml (98%) rename res/{layout-xlarge => layout-w600dp}/account_setup_incoming_fragment.xml (98%) rename res/{layout-xlarge => layout-w600dp}/account_setup_names_common.xml (98%) rename res/{layout-xlarge => layout-w600dp}/account_setup_options_common.xml (99%) rename res/{layout-xlarge => layout-w600dp}/account_setup_outgoing_fragment.xml (98%) rename res/{layout-xlarge => layout-w600dp}/action_bar_current_mailbox.xml (100%) rename res/{layout-xlarge => layout-w600dp}/message_compose.xml (99%) rename res/{layout-xlarge => layout-w600dp}/message_compose_attachment.xml (99%) rename res/{layout-xlarge => layout-w600dp}/message_view_attachment.xml (99%) rename res/{layout-xlarge => layout-w600dp}/message_view_fragment.xml (99%) rename res/{layout-xlarge => layout-w600dp}/message_view_invitation.xml (99%) create mode 100644 res/layout-w600dp/three_pane.xml create mode 100644 res/layout-xlarge-land/three_pane.xml rename res/{layout-port/three_pane.xml => layout/three_pane_collapsible_impl.xml} (91%) rename res/{layout-land/three_pane.xml => layout/three_pane_impl.xml} (89%) create mode 100644 res/values-large-land/dimen.xml create mode 100644 res/values-large-port/styles.xml rename res/{values-xlarge-land => values-w600dp-land}/dimensions.xml (98%) rename res/{values-xlarge-land => values-w600dp-land}/styles.xml (96%) rename res/{values-xlarge-port => values-w600dp-port}/dimensions.xml (96%) rename res/{values-xlarge-port => values-w600dp-port}/styles.xml (97%) create mode 100644 res/values-w600dp/bools.xml rename res/{values-xlarge => values-w600dp}/colors.xml (91%) rename res/{values-xlarge => values-w600dp}/dimensions.xml (98%) rename res/{values-xlarge => values-w600dp}/styles.xml (95%) create mode 100644 res/values-xlarge-land/dimen.xml create mode 100644 res/values/bools.xml diff --git a/res/layout-xlarge-land/account_setup_basics.xml b/res/layout-w600dp-land/account_setup_basics.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_basics.xml rename to res/layout-w600dp-land/account_setup_basics.xml diff --git a/res/layout-xlarge-land/account_setup_exchange.xml b/res/layout-w600dp-land/account_setup_exchange.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_exchange.xml rename to res/layout-w600dp-land/account_setup_exchange.xml diff --git a/res/layout-xlarge-land/account_setup_incoming.xml b/res/layout-w600dp-land/account_setup_incoming.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_incoming.xml rename to res/layout-w600dp-land/account_setup_incoming.xml diff --git a/res/layout-xlarge-land/account_setup_names.xml b/res/layout-w600dp-land/account_setup_names.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_names.xml rename to res/layout-w600dp-land/account_setup_names.xml diff --git a/res/layout-xlarge-land/account_setup_options.xml b/res/layout-w600dp-land/account_setup_options.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_options.xml rename to res/layout-w600dp-land/account_setup_options.xml diff --git a/res/layout-xlarge-land/account_setup_outgoing.xml b/res/layout-w600dp-land/account_setup_outgoing.xml similarity index 100% rename from res/layout-xlarge-land/account_setup_outgoing.xml rename to res/layout-w600dp-land/account_setup_outgoing.xml diff --git a/res/layout-xlarge-port/account_setup_basics.xml b/res/layout-w600dp-port/account_setup_basics.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_basics.xml rename to res/layout-w600dp-port/account_setup_basics.xml diff --git a/res/layout-xlarge-port/account_setup_exchange.xml b/res/layout-w600dp-port/account_setup_exchange.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_exchange.xml rename to res/layout-w600dp-port/account_setup_exchange.xml diff --git a/res/layout-xlarge-port/account_setup_incoming.xml b/res/layout-w600dp-port/account_setup_incoming.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_incoming.xml rename to res/layout-w600dp-port/account_setup_incoming.xml diff --git a/res/layout-xlarge-port/account_setup_names.xml b/res/layout-w600dp-port/account_setup_names.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_names.xml rename to res/layout-w600dp-port/account_setup_names.xml diff --git a/res/layout-xlarge-port/account_setup_options.xml b/res/layout-w600dp-port/account_setup_options.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_options.xml rename to res/layout-w600dp-port/account_setup_options.xml diff --git a/res/layout-xlarge-port/account_setup_outgoing.xml b/res/layout-w600dp-port/account_setup_outgoing.xml similarity index 100% rename from res/layout-xlarge-port/account_setup_outgoing.xml rename to res/layout-w600dp-port/account_setup_outgoing.xml diff --git a/res/layout-xlarge/account_setup_account_type.xml b/res/layout-w600dp/account_setup_account_type.xml similarity index 93% rename from res/layout-xlarge/account_setup_account_type.xml rename to res/layout-w600dp/account_setup_account_type.xml index 8b51ee759..0c2139aef 100644 --- a/res/layout-xlarge/account_setup_account_type.xml +++ b/res/layout-w600dp/account_setup_account_type.xml @@ -14,7 +14,7 @@ limitations under the License. --> - + - -