Commit Graph

712 Commits

Author SHA1 Message Date
Makoto Onuki
edeca22ac3 Merge "Make two pane layout (more or less) useable on phone" 2011-04-14 14:26:04 -07:00
Makoto Onuki
b32704dae5 Make two pane layout (more or less) useable on phone
Now the two pane activity survives longer on the phone, as opposed to
crash immediately.
(It still crashes when you open the message view.)

I'd like to submit this because:
- It'll make my experiment easier
- It wouldn't do any harm to the tablet UI.

Change-Id: Id716a42c63026cf09b30ff6a63e0e58311aa53ed
2011-04-14 14:25:05 -07:00
Todd Kennedy
9eb697c657 Fix layout of chip in combined view
the chip was part of the sub-layout when it should not have been.

Change-Id: Ie3a547bdf6d6ae4a3b458eaf4c30b57463b8ec34
2011-04-14 10:19:13 -07:00
Todd Kennedy
2b82c3f0a3 Add columns to cursor to allow for proper layout
The layout requires different indentation. Although the exact layout may
change, we will likely always need to differentiate between the different
mailbox types.

Change-Id: Ia2ff84b552873f92fa45563b2dc0868c29bec3e3
2011-04-12 15:09:51 -07:00
Marc Blank
d4a1500ae9 Temporary UI for setting mailbox sync frequency/lookback
* Just in MessageListXL for now, as with search
* This allows us to test functionality within EAS, and confirm that
  it's all working w/ unbundled Exchange (API 1)

Change-Id: I4f062ae871a28d2b57a23a269d6ec65903181d26
2011-04-07 14:53:08 -07:00
Todd Kennedy
007d0be4ed First pass at nested folder support
currently only really works for exchange accounts. legacy accounts (imap
or pop) do not build a folder heirarchy.

Change-Id: Idb7c622b64a599a0776233a076359869f4ab4a4f
2011-04-07 14:23:21 -07:00
Marc Blank
fc0f42d6dc Merge "Temporary search UI" 2011-04-06 15:53:09 -07:00
Makoto Onuki
0b28cce4b5 Merge "Fix message view for phone" 2011-04-06 10:32:09 -07:00
Marc Blank
78684ccc79 Temporary search UI
Change-Id: Ia138ca93f0b28fd0915aa79c965f752f7c08ee90
2011-04-06 08:51:14 -07:00
Makoto Onuki
96332096ca Fix message view for phone
- All layouts are still temporary, but at least they're usable now.
- Removed reply/forward button from the bottom panel.
  There're buttons in the layout.
- Switched to getView().
- removed the unnecessary LinearLayout from the xlarge layout.
- removed some backgrounds that'll probably not be used.

Change-Id: I3aa27c63ab139ae30e5714ac3d9a1eadce74b0e8
2011-04-05 19:20:41 -07:00
Ben Komalo
2a2e42b7d8 Remove dead resources.
Change-Id: I8ccbf1e2770199765b3bd73261c4c7982ff8683b
2011-04-05 18:25:43 -07:00
Makoto Onuki
bd5933d4a1 Merge "Clean up MessageCompose for phone" 2011-04-04 09:56:00 -07:00
Makoto Onuki
2d380e4504 Clean up MessageCompose for phone
- +cc/bcc and "add attachment" are now menu options.
- layout clean up
- switch to getView()

Change-Id: I5efb6d0fd7b6d1265fed0173463adce2c6d652ba
2011-04-01 15:37:10 -07:00
Makoto Onuki
18f98261a4 Changed text color for phone
... assuming we're going to use the holo light on the phone as well.

Now the text on MailboxList is clearly visible.

Also updated/added some comments.

Change-Id: I280db2b82cbd1627c78a305dd31bbf1b1bb34d1d
2011-03-31 17:29:11 -07:00
Todd Kennedy
00b4e00944 Fix typos in providers.xml
bug 4090086

Change-Id: I257410357306495f842a02a94337c5e554d08ed5
2011-03-31 15:39:28 -07:00
Todd Kennedy
5e4f1c3872 Allow globals in the providers.xml
There are two ways globals can be specified. There can be only one global
character ['*'] and/or multiple wildcard characters ['?']. The global
will match zero or more characters. The wildcard will match any character.

bug 4090086

Change-Id: I07e3edebd1fe989094c68cf047ce5bc9fb91aba0
2011-03-31 14:28:43 -07:00
Makoto Onuki
44f45f4221 Merge "Don't use findViewById (part 1 -- account setup)" 2011-03-31 11:06:15 -07:00
Gilles Debunne
f2bcb222ca Merge "Unused assets removed from Email" 2011-03-30 18:07:54 -07:00
Todd Kennedy
aaec6a9a2b Merge "Disallow editing username after account creation" 2011-03-30 14:47:28 -07:00
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
Todd Kennedy
206109cf44 Disallow editing username after account creation
After the account is created, don't allow editing the user name. We want to
prevent this as the user name is core to the account and changing the user
name is tantamount to creating a new account.

bug 3502279

Change-Id: I1d89710fd48aca67ba13abea5bdbdc1d87941618
2011-03-30 08:54:34 -07:00
Todd Kennedy
e369f2772c Merge "Allow globals in the providers.xml" 2011-03-29 15:28:13 -07:00
Todd Kennedy
08534762bd Allow globals in the providers.xml
We now allow a single global character ['*'] to be specified somewhere in
the domain attribute. Additionally, we will replace the string "$domain"
with the matched domain in all attributes -- user name, password and URIs.

bug 4090086

Change-Id: I46a637ed364c1a079e1230fa22393a1bac059b1f
2011-03-29 11:12:13 -07:00
Makoto Onuki
9e53322ee7 First path of MessageList cleaning up
- Menu now works
- Removed a lot of unnecessary/soon-to-be-unnecessary code.
  Especially,
  - multi-selection panel is now replaced with CAB
  - SetTitleTask will be replaced with a loader
- Removed the option menu xml for magic mailboxes
  (The regular one should work for them as well)

Bug 4184142

Change-Id: I52adff6d711232d536b6f00367a240e1faeea14b
2011-03-28 16:36:01 -07:00
Gilles Debunne
8c74176522 Unused assets removed from Email
Change-Id: I485752fac0c25262edde416f132482600eb32013
2011-03-28 14:44:03 -07:00
Makoto Onuki
511d378777 Fix NPE in message view
Message view layout is still unusable with this fix, but it's a start...

Bug 4163869

Change-Id: Ifa88c758b7945b4e58d5ca9f1d618a4402227c7b
2011-03-23 17:24:09 -07:00
Makoto Onuki
39745c3dc0 Fix AccountSetupOptions for phone UI
Bug 4157050

Change-Id: I1addca05b9c56266b28e7449c87b3a5010ed671b
2011-03-23 11:17:46 -07:00
Eric Fischer
721290eb2a Import revised translations.
Change-Id: I6c914be6eb81740ec2f44dc89aee68e8cbc95b0e
2011-03-17 16:53:14 -07:00
Todd Kennedy
6000d4b975 Fix build soju-eng build error
The phone build was missing one layout and a couple dimensions.

Change-Id: I7d48599e82066c2a293f7b442eed644185848c87
2011-03-16 13:49:17 -07:00
Andy Stadler
384ceade8d am f0a75b9d: Merge "Add 55 roadrunner email setups" into honeycomb-mr1
* commit 'f0a75b9d66468d4f6daf4af1a1317bff7fa96194':
  Add 55 roadrunner email setups
2011-03-15 23:51:00 -07:00
Andy Stadler
f0a75b9d66 Merge "Add 55 roadrunner email setups" into honeycomb-mr1 2011-03-15 16:04:55 -07:00
Eric Fischer
d85b9879f2 Import revised translations. DO NOT MERGE
Change-Id: I07a17bf7191b4cb8420ffb5c55dfe26600278a26
2011-03-15 14:47:59 -07:00
Andy Stadler
36e6f4931e Add 55 roadrunner email setups
Bug: 4086524
Change-Id: I8d7758d3720e45515abae1d071a8b149ac63a4ce
2011-03-15 13:51:57 -07:00
Eric Fischer
47baa33eba Merge "Import revised translations." 2011-03-15 11:59:14 -07:00
Eric Fischer
c37565d0bd Import revised translations.
Change-Id: I0d4fd18c71c604d08dd0a0989678382011ca9897
2011-03-15 10:42:39 -07:00
Todd Kennedy
d226cad237 am 9c795b02: Fix portrait widget header background
* commit '9c795b025ec9318ee26ae3b4231f0bff28b78f27':
  Fix portrait widget header background
2011-03-15 08:23:05 -07:00
Todd Kennedy
9c795b025e Fix portrait widget header background
When the device is in portrait mode and the widget gets resized to be
narrow (2-by), the header background becomes corrupt. The new assets
now look correct at any size.

bug 3500861

Change-Id: I80a655c8822f2a14f9100afe32c893bf412ac936
2011-03-14 16:48:05 -07:00
Todd Kennedy
45b2412a95 am 09f9fc5e: Merge ""final" tweaks to widget" into honeycomb-mr1
* commit '09f9fc5e4a0ac79deab8fefd30e99cced2ac8317':
  "final" tweaks to widget
2011-03-11 11:50:35 -08:00
Todd Kennedy
46b8ea4b53 "final" tweaks to widget
* Add the background to the widget
* Updated background to a stretchable 9-patch
* Shift "Tap icon to change" text up a couple pixels

bug 3510984

Change-Id: I5ea65b802098c1af08e865f85fb5470e0a00b76b
2011-03-11 10:54:29 -08:00
Eric Fischer
f41d724b86 Import revised translations. DO NOT MERGE
Change-Id: I583363eaa54e813f0b7192642acdc434e92c44a4
2011-03-10 11:26:49 -08:00
Eric Fischer
4408de227c Import revised translations. DO NOT MERGE
Change-Id: Ib697dbb79057ad9b692c83a8171be91d8f29d299
2011-03-08 15:41:04 -08:00
Todd Kennedy
9106c9d245 am f42d5c62: Implement UI tweaks
* commit 'f42d5c6234bfb26f63a711fd59076964283fb7f0':
  Implement UI tweaks
2011-03-08 07:58:46 -08:00
Todd Kennedy
f42d5c6234 Implement UI tweaks
* Correct allignment of mailbox label
* Sender info & presence alignment fixed
* Header height corrected
* Sender header updated; new asset for background & remove the "fold" asset
* New asset icon and allignment for "show pictures"
* Selected rows have updated background; new assets
* New asset for checked items
* Update divider to be 2px high
* Update selected background for wide message list

bug 3510984

Change-Id: I028ed5619ea7127b0392d9f5b7b00c575b00f3c6
2011-03-07 18:18:30 -08:00
Todd Kennedy
019184c8f7 Merge "DO NOT MERGE: Update assets" into honeycomb-mr1 2011-03-07 16:32:50 -08:00
Todd Kennedy
e63337e78b DO NOT MERGE: Update assets
Also tile the widget header.

bug 3500861

Change-Id: Ic8a6a0a8a83974f7c653d9c78450bada7947773a
Backport-Id: I4288c4dd0c71843e18ee370102c2112626a90f50
2011-03-07 16:21:43 -08:00
Eric Fischer
a79e8913b8 Import revised translations. DO NOT MERGE
Change-Id: I750fe542ddc2306036173285f5297ff675a7ec15
2011-03-07 12:55:14 -08:00
Todd Kennedy
ce9e2d3280 Update assets
Also tile the widget header.

bug 3500861

Change-Id: I4288c4dd0c71843e18ee370102c2112626a90f50
2011-03-07 09:45:59 -08:00
Justin Ho
e60640d633 am 7cdb2580: Merge "Updated stat_notify for Email" into honeycomb-mr1
* commit '7cdb25800dd44c8ecdf612ffa5ec03c9b2885992':
  Updated stat_notify for Email
2011-03-04 17:15:22 -08:00
Justin Ho
7cdb25800d Merge "Updated stat_notify for Email" into honeycomb-mr1 2011-03-04 15:39:48 -08:00
Justin Ho
20d414c28b Updated stat_notify for Email
Change-Id: I0a01a971bce46cb31ac8bf500e3ec6824b0ebb4b
2011-03-04 15:33:07 -08:00