replicant-packages_apps_Email/res/layout
Makoto Onuki 2fbb3db5d8 Don't use findViewById (part 1 -- account setup)
Added two new functions:
- UiUtilities.getView()
  is a fail-fast version of findViewById().  Crashes when there's no view
- setVisibilitySafe()
  same as View.setVisibility, but doesn't crash even if a view doesn't exist

Let's try to avoid the use of findViewById(), and instead use getView(), *right
after* the layout is inflated, so that we'll always fail-fast if a layout
doesn't have a required view.  (Rather than getting a NPE only when the view
is really accessed, which can be in a code path which is rarely executed--e.g.
only when there's a protocol error.)

Let's only use findViewById() only when we're sure no all the variants of a
layout have the view in question and leave a comment to make it clear it's on
purpose.

(UiUtilities has been moved from com.android.email to
com.android.email.activity)

Change-Id: I36e0bab65a989f5d34cf636f13e1eaee084547af
2011-03-30 13:47:13 -07:00
..
account_folder_list_item.xml
account_folder_list.xml
account_selector_dropdown.xml Pixel pefect: account spinner. 2011-02-23 13:59:11 -08:00
account_selector.xml Pixel pefect: account spinner. 2011-02-23 13:59:11 -08:00
account_settings_exchange_fragment.xml Finish incoming/outgoing/exchange layouts 2011-01-12 00:40:34 -08:00
account_settings_incoming_fragment.xml Finish incoming/outgoing/exchange layouts 2011-01-12 00:40:34 -08:00
account_settings_outgoing_fragment.xml Finish incoming/outgoing/exchange layouts 2011-01-12 00:40:34 -08:00
account_settings.xml
account_setup_account_type.xml Don't use findViewById (part 1 -- account setup) 2011-03-30 13:47:13 -07:00
account_setup_basics_common.xml Fix build soju-eng build error 2011-03-16 13:49:17 -07:00
account_setup_basics.xml
account_setup_exchange_fragment.xml
account_setup_exchange.xml
account_setup_incoming_fragment.xml
account_setup_incoming.xml
account_setup_names.xml
account_setup_options.xml Fix AccountSetupOptions for phone UI 2011-03-23 11:17:46 -07:00
account_setup_outgoing_fragment.xml
account_setup_outgoing.xml
account_shortcut_picker_item.xml
account_shortcut_picker.xml
action_bar_indeterminate_progress.xml Make the "refreshing" progress icon smaller 2011-01-26 13:49:11 -08:00
connection_error_banner.xml
debug.xml New debug setting to enable strict mode logging. 2011-03-02 10:41:48 -08:00
list_separator.xml
list_title.xml
mailbox_list_fragment.xml
mailbox_list_item.xml Update chips per UI design specification 2011-01-11 14:03:21 -08:00
mailbox_list.xml
message_command_button_view.xml Show newer/older in landscape as well, below message list 2011-01-11 16:02:19 -08:00
message_compose_attachment.xml Pixel perfect: message compose 2011-01-06 15:01:29 -08:00
message_compose.xml Remove STOPSHIPs 2011-01-10 14:36:17 -08:00
message_file_view.xml
message_list_fragment.xml
message_list_item_footer.xml
message_list_item.xml
message_list_xl.xml Remove STOPSHIP for error banner 2011-01-25 10:19:03 -08:00
message_list.xml
message_view_attachment.xml Pixel perfect: Message view 2011-01-10 15:51:32 -08:00
message_view_details.xml Improve "message details" 2011-01-12 12:29:59 -08:00
message_view_fragment.xml Fix NPE in message view 2011-03-23 17:24:09 -07:00
message_view_invitation.xml Pixel perfect: Message view 2011-01-10 15:51:32 -08:00
message_view.xml
recipient_dropdown_item_loading.xml
recipient_dropdown_item.xml
widget_list_item.xml Update icons with latest drop from UI 2011-01-26 17:43:03 -08:00
widget_loading.xml
widget.xml "final" tweaks to widget 2011-03-11 10:54:29 -08:00