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 Deal with fragment API change. 2010-08-16 14:10:47 -07:00
account_selector_dropdown.xml Pixel pefect: account spinner. 2011-02-23 13:59:11 -08:00
account_selector.xml
account_settings_exchange_fragment.xml
account_settings_incoming_fragment.xml
account_settings_outgoing_fragment.xml
account_settings.xml Deal with fragment API change. 2010-08-16 14:10:47 -07:00
account_setup_account_type.xml
account_setup_basics_common.xml Fix build soju-eng build error 2011-03-16 13:49:17 -07:00
account_setup_basics.xml Defragment AccountSetupBasics 2010-12-09 11:05:34 -08:00
account_setup_exchange_fragment.xml
account_setup_exchange.xml Create XL layouts for incoming, outgoing, exchange 2010-11-16 16:40:34 -08:00
account_setup_incoming_fragment.xml Create XL layouts for incoming, outgoing, exchange 2010-11-16 16:40:34 -08:00
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 Create XL layouts for incoming, outgoing, exchange 2010-11-16 16:40:34 -08:00
account_setup_outgoing.xml Create XL layouts for incoming, outgoing, exchange 2010-11-16 16:40:34 -08:00
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 Email: husky title for MessageList & MailboxList. 2010-02-11 17:59:00 +01:00
mailbox_list_fragment.xml pixel-almost-perfect: mailbox list 2010-11-24 13:40:58 -08:00
mailbox_list_item.xml
mailbox_list.xml
message_command_button_view.xml
message_compose_attachment.xml Pixel perfect: message compose 2011-01-06 15:01:29 -08:00
message_compose.xml
message_file_view.xml
message_list_fragment.xml
message_list_item_footer.xml
message_list_item.xml
message_list_xl.xml
message_list.xml
message_view_attachment.xml Pixel perfect: Message view 2011-01-10 15:51:32 -08:00
message_view_details.xml
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 Minor UI tweaks 2010-08-31 16:20:25 -07:00
recipient_dropdown_item.xml Switch to Light Holo theme, clean up menu options. 2010-08-25 17:09:59 -07:00
widget_list_item.xml Update icons with latest drop from UI 2011-01-26 17:43:03 -08:00
widget_loading.xml
widget.xml