Commit Graph

6195 Commits

Author SHA1 Message Date
Mindy Pereira f5ac3c6901 Use styles in the mailcommon directory for the compose view.
Change-Id: Ib14f99355a78bb00aa06c87ae6329940f5d66444
2011-10-11 10:57:57 -07:00
Ben Komalo 2949d48f1d Merge "Up Email version for release." 2011-10-10 15:42:33 -07:00
Mindy Pereira 51c4a901b6 Merge "Move next and manual settings buttons up on the add acct screen." 2011-10-10 14:00:19 -07:00
Mindy Pereira 2bb9b63c2c Move next and manual settings buttons up on the add acct screen.
Fixes bug:5397033 IME overlaps Next button in Add Account screen

Change-Id: Icec368040d1a1f7f02f5c164167f7b5f29c450c9
2011-10-10 13:56:56 -07:00
Ben Komalo 9ac7e04fb7 Up Email version for release.
Bug: 5392379
Change-Id: I6b7082bb12d4f9a9b18064b0933f5ed588af9afe
2011-10-10 11:38:16 -07:00
Mindy Pereira 18601838be Merge "Allow tablet to use different styles than phone for chips fields." 2011-10-10 11:07:33 -07:00
Eric Fischer 2f92d8f208 Merge "Import revised translations." 2011-10-10 10:30:46 -07:00
Mindy Pereira b291d7cd24 Allow tablet to use different styles than phone for chips fields.
Fixes bug:5390583 To,CC & BCC field titles are aligned middle of the row in Email

Change-Id: Ia44ae510d740101d1cbbf1c59f233a2cd9d9af99
2011-10-10 10:13:09 -07:00
Ben Komalo c35c4b14c9 Fix persistent "empty name" error.
We were never clearing the error state when typing in a field that
needed to be non-empty.

Bug: 5422268
Change-Id: Iabe8c6f6c348b4210695c3eeff98e79e60f83d08
2011-10-07 18:03:16 -07:00
Eric Fischer e868673dc5 Import revised translations.
Change-Id: I4a0fd7027989deeba8f835bc8f6c2332319122e5
2011-10-07 16:41:16 -07:00
Ben Komalo dbd2aeda76 Fix up compose styles.
- make subject text have the proper text flags
- remove unneeded v13 overlay, and fix the main style to not have
DarkActionBar (which is wrong)

Bug: 5430026
Change-Id: I44d72f89118f03be89ed3ea1a5516321798d9fa1
2011-10-07 15:02:02 -07:00
Ben Komalo 6e8e49d5f7 Merge "Ensure proper mailbox is highlighted." 2011-10-07 11:12:26 -07:00
Ben Komalo 7e984e8c0b Merge "Fix message list pressed state color" 2011-10-07 11:05:58 -07:00
Ben Komalo ce4ebc52a6 Ensure proper mailbox is highlighted.
Bug: 5424565
Change-Id: I1436568aa1c7d7d2becce27ee068d88deb217496
2011-10-06 17:31:59 -07:00
Ben Komalo f9b566c109 Fix message list pressed state color
Also do some cleanup - we were creating a background task for opening a
message, when in the common case we don't need to hit disk for any
reason. This was also an issue since the async opening of the message
caused the list item to go into an "active" state, changing its colour
(this problem still exists in starred view now, though)

Bug: 5222509
Change-Id: Ie94109df42406fd6eec1e1255bb0827626ba0628
2011-10-06 16:35:04 -07:00
Ben Komalo cc5ccc68fc Merge "Don't spell check account names." 2011-10-05 16:24:34 -07:00
Ben Komalo 65510b6fb9 Don't spell check account names.
note that this applies for the account name.
the actual user name has inputType=textPersonName, which I guess the
framework folks have decided should be spellchecked, so I'm leaving that
as is

Bug: 5418912
Change-Id: Ie39aa64e59940415b4d8d9a275af07c902937234
2011-10-05 16:14:44 -07:00
Ben Komalo d43f444710 Use holo light for shortcut/widget pickers
Bug: 5418974
Change-Id: Ied745d9ffa74b824a71f4eba54138739e94c4a64
2011-10-05 16:00:44 -07:00
Claudia de Veaux 03e32770f5 Merge "General string cleanup per standards. Bugs: 5383037, 5165745, 5163232, 5162668, 5162667, 5162328 Changes include making text friendlier, more consistent use of wording, capitalization, punctuation, simplification of dialogs. Changed spelling of Wi-Fi to WiFi." 2011-10-04 17:09:01 -07:00
Claudia de Veaux f314e2e5c0 General string cleanup per standards.
Bugs: 5383037, 5165745, 5163232, 5162668, 5162667, 5162328
Changes include making text friendlier, more consistent
use of wording, capitalization, punctuation, simplification
of dialogs. Changed spelling of Wi-Fi to WiFi.

Change-Id: I6d1656416d1844fc361bbedc1d7e98cb5cc8af6e

Revision based on review feedback from Ben.
2011-10-04 17:02:24 -07:00
Ben Komalo ab5ac4fd00 Fix widget padding.
Makes text vertically and horizontally centered
Also makes it more robust to text size changes

Bug: 5406487
Bug: 5360657
Change-Id: I5183c988163381237cf3aa38121075b7281df695
2011-10-04 16:23:45 -07:00
Marc Blank cd75eef4de Merge "Handle possible NPE in MessageListItem" 2011-10-04 13:41:08 -07:00
Marc Blank bcf5d5825f Handle possible NPE in MessageListItem
* I don't know how the timestamp can be zero for a message, but we
  shouldn't crash, and it's late for adding new localizable text

Bug: 5410814
Change-Id: Idf1c8b0d4c0b7e0e2b2466643ea52e5244d1bb5f
2011-10-04 13:36:47 -07:00
Ben Komalo 1c4b62a0ed Merge "Always update adapter's cursor." 2011-10-03 17:15:11 -07:00
Marc Blank 35d92429af Merge "Enforce "auto-sync app data" setting for POP3/IMAP" 2011-10-03 14:21:04 -07:00
Ben Komalo 1259ba0258 Merge "Don't touch views in the background." 2011-10-03 13:55:40 -07:00
Ben Komalo 5aedd25869 Always update adapter's cursor.
In cases where the account gets removed, we accidentally hold a stale
cursor. This leaves a ticking bomb, which generally explodes when the
list tries to save state.

Bug: 5367199
Change-Id: Ibcd0c281c9668778f7d1d2abba472ffff8b22879
2011-10-03 13:53:24 -07:00
Eric Fischer 151037ec33 Import revised translations.
Change-Id: I0560d5aa478c7878a67e3047237d39a05676768e
2011-10-03 13:42:00 -07:00
Marc Blank faf9ecc992 Enforce "auto-sync app data" setting for POP3/IMAP
* We were using the deprecated ConnectivityManager for this; we should now be
  using the setting in ContentResolver
* Also, remove broadcast receiver code that is no longer relevant

Bug: 5405352
Change-Id: I985a95071aea92d235a2708925f775b817ba2328
2011-10-03 13:05:24 -07:00
Ben Komalo d75ac0d357 Don't touch views in the background.
Bug: 5404366
Change-Id: I8aca89c032db41aaf95d3a94dc8047fbacbd47a9
2011-10-03 12:58:58 -07:00
Eric Fischer 1d8302e88b Merge "Restore deleted string still referenced from layout." 2011-09-30 15:53:15 -07:00
Eric Fischer ec475fd6fb Restore deleted string still referenced from layout.
Change-Id: Ie2a009bf0ae3c5a41ae7dad455ab8a65f74ff3d6
2011-09-30 15:48:53 -07:00
Marc Blank 71c9683087 Improve policy logging
Change-Id: I023b7c5302ea00ab77edd697009fb00544951a80
2011-09-30 15:00:25 -07:00
Ben Komalo b19a76c452 Don't show move to dialog until data is ready.
The data is usually really quick, but it's enough to cause it to flicker
if we set it with an empty adapter first.

Bug: 5087874
Change-Id: I2fc37751edcaa8ffeee144b85417b48e94b4ba4f
2011-09-29 13:50:32 -07:00
Ben Komalo 0dc7886f47 Merge "Make draft loading happen on serial executor" 2011-09-29 11:57:12 -07:00
Ben Komalo 84f67edb03 Merge "Hide attachment progress bar on complete." 2011-09-29 11:12:43 -07:00
Ben Komalo fb83cef9ad Hide attachment progress bar on complete.
Also fix up styles to (mostly) match mocks and be consistent
with Gmail

Bug: 5205957
Change-Id: Iea7e9706464a8050255a7be78fca471cb7f9f6cf
2011-09-28 17:41:30 -07:00
Eric Fischer e1d417274b am ee48894d: (-s ours) Import revised translations. DO NOT MERGE.
* commit 'ee48894dfda0c60661cffb117434ab9f4d3222ad':
  Import revised translations.  DO NOT MERGE.
2011-09-28 17:01:08 -07:00
Eric Fischer ee48894dfd Import revised translations. DO NOT MERGE.
Change-Id: I805a9b5d9143ae1a2917406d3fca2893c680d17a
2011-09-28 16:34:42 -07:00
Ben Komalo 8f56f41a07 Merge "Prefill account names." 2011-09-28 14:52:08 -07:00
Ben Komalo b3a72b51dd Prefill account names.
- default to e-mail address for account description
- try to use the phone's profile info for the user name

Bug: 5369190
Change-Id: I01cb567f31999bce79426eee58de8fbbc09e344d
2011-09-28 14:43:08 -07:00
Marc Blank c82c1caf01 Include external storage in remote wipe
* Apparently, this is required via Microsoft specifications, though
  there had been an earlier decision not to do this

Bug: 5384246
Change-Id: I05b6c2d21d3b295ad696f26a7a13cba6f1974e83
2011-09-28 09:41:44 -07:00
Mindy Pereira ccfff56cd8 Merge "Fixup the styles for chips fields." 2011-09-27 10:12:41 -07:00
Ben Komalo 5fc0aa79f6 Make draft loading happen on serial executor
This fixes an issue where it loads drafts too quickly on orientation
change (and a previous save has not completed). The save was explicitly
put on the serial executor for this reason, but the load task was
missed. whoops.

Bug: 5361711
Change-Id: Ic764e15deb7cd8b88fa4f87e7cbdf435d7d79c80
2011-09-26 18:22:19 -07:00
Ben Komalo 26655e14a1 Restore accidentally nuked visibility attribute
oops.

Bug: 5376236
Change-Id: Id11a9996eef0d6e7789a65c5aced4e5cef0083ce
2011-09-26 18:18:45 -07:00
Ben Komalo 112f39692c Merge "Fix "always show pictures"" 2011-09-26 15:59:03 -07:00
Ben Komalo 3432bdb757 Fix focus behavior in setup screens.
- properly put actionNext on most fields
- make sure actionDone doesn't do funky things with focus so that a
non-editable field gets focus. we may want to consider not making this
focusable in the future.

Bug: 5367827
Change-Id: I4e7bb13801d96a4f1e6fd02a2d43713200738b18
2011-09-26 15:49:01 -07:00
Ben Komalo 5bcb32a0d3 Fix "always show pictures"
- stopped using the confusing checkmark
- consolidated tablet/phone view - removed some needless views

Bug: 5224399
Change-Id: I944459881f04bf1103db98bb15a597bdfcc07cd9
2011-09-26 15:47:09 -07:00
Mindy Pereira 92922ea4a4 Provide an empty constructor for orientation changes.
Fixes bug:5369868 Email crash while changing orientation when there is a security exception pop-up

Change-Id: I8fc530c994d5015cb76039d2f309d98ed2c3761f
2011-09-26 11:16:39 -07:00
Mindy Pereira 17b261421c Fixup the styles for chips fields.
Change-Id: I579b2beafc753f7aea8af4bc4bdd6360ef074744
2011-09-26 09:58:45 -07:00