Commit Graph

519 Commits

Author SHA1 Message Date
Todd Kennedy
64ac7a6cc8 Use new holo light icons
Use the new icons where appropriate. This is not a complete change as there are
still some icons missing.

Change-Id: I51d1458749343ddfc6456dc2a9853b8bc2540e26
2011-01-06 13:42:20 -08:00
Makoto Onuki
ce9df41fc1 Merge "Pixel perfect: mailbox list" 2011-01-05 17:40:51 -08:00
Makoto Onuki
33d7399d8d Merge "action bar: make current mailbox closer to gmail" 2011-01-05 17:37:45 -08:00
Makoto Onuki
e9818160e1 action bar: make current mailbox closer to gmail
Still not pp, but the current one looks too ugly.  Let's change it.

Bug 3137891

Change-Id: I2e036d23b2ec99bb63fe300a5c2ade72b192f81a
2011-01-05 17:29:48 -08:00
Makoto Onuki
eaf748e6ee Message list item: Use "activated" background
for the selected message.

This also fixes wired background flicker when you long-press.
(Apparently you can't share StateListDrawable among multiple items...)

Change-Id: I922f50a5b2a33731919e26a55bd3537d55057af5
2011-01-05 16:38:19 -08:00
Makoto Onuki
80a98fd939 Pixel perfect: mailbox list
Now it should be close enough...

Also fixed the "selected mailbox won't get hilighted" issue.

Bug 3137965

Change-Id: Ifba83783121e62363fac6428534394d2e0a4bee9
2011-01-05 15:33:31 -08:00
Marc Blank
bd9b2ff2b3 Add final backgrounds to message list items
Bug: 3137994
Change-Id: Ife96b23815999290fc1d263ca6d8f4cedaef1b20
2011-01-05 11:46:16 -08:00
Eric Fischer
111fcf97e1 Import revised translations.
Change-Id: I6923154d77795bd51be4d62158c1ccaf23522fb8
2010-12-23 14:14:58 -08:00
Marc Blank
84dfef9085 Merge "Put individual account inboxes in widget rotation" 2010-12-22 13:46:11 -08:00
Makoto Onuki
cb89e057ec Assets!
Change-Id: Ibde20ffb64049387fe025293f7d35b342352eb81
2010-12-22 13:16:44 -08:00
Marc Blank
66b6b95646 Put individual account inboxes in widget rotation
Change-Id: If1fddc107d9934849bbf273a67dd1db9c2063d99
2010-12-22 12:49:15 -08:00
Marc Blank
0fd8ae8808 Pixel perfect Email widget
* Functionally correct and pixel perfect
* All current assets in place

Bug: 3292507
Bug: 3284201
Bug: 3135118
Bug: 3255036
Bug: 3252913

Change-Id: I8fa6752748c74b3a9789a3675da12f6c0c11975f
2010-12-20 11:55:01 -08:00
Marc Blank
13c615314f Fix broken asset (and build)
Change-Id: Ie03ca71dd44f91d43e86d7bc501284b9c1e15f8c
2010-12-17 17:03:03 -08:00
Makoto Onuki
e4355b8be9 Merge "Latest assets from designer git" 2010-12-17 14:30:19 -08:00
Makoto Onuki
992d606dd5 Latest assets from designer git
Change-Id: I8837b6ff31ff7af274904e274cdd3ce1e6e21b3e
2010-12-17 13:44:48 -08:00
Makoto Onuki
6a5a39c9e8 Merge "Make reply/forward/etc buttons selectable with keyboard" 2010-12-17 13:44:08 -08:00
Makoto Onuki
4aa8d1850d Make reply/forward/etc buttons selectable with keyboard
Reply, reply-all, forward, star, and the quick contact badge are now clickable
with the keyboard.

Bug 3292854

Change-Id: Ieeb9f50c9e63f251cafb23255dd3f923b2501849
2010-12-16 16:45:38 -08:00
Makoto Onuki
dd26e24dca New assets from designer's git
- Note the widget preview has moved from drawable/ to drawable-mdpi/.
- Also note not all mdpi assets have their conterpart in hdpi.
  Not sure if it's okay or not...

Change-Id: I087a800cdbb7ea1732df197827c1a0bfe8c4b809
2010-12-16 13:45:05 -08:00
Andy Stadler
fdfd466fe6 Update widget with slightly newer drawable
Change-Id: Iea4a1a3e0d8b2601d515c02d792636a416de3756
2010-12-15 22:07:55 -08:00
Andy Stadler
d2fcefc567 Add widget preview
* Also bumped email version number to 3.0 because the version# may need
  to increment to force refresh of the preview tile.

Bug: 3277453
Change-Id: Ic556e49a4b531fcfdbf3c8f6a2537a34ee0f3c63
2010-12-15 17:49:07 -08:00
Andy Stadler
c1c3b6f21e Use generic contact icon for notifications & messages
* Copies the icon from contacts
* Used whenever the sender doesn't have a local photo
* Used in notifications and in messageview

Bug: 3282187 (notification)
Bug: 3285156 (memory leak from the placeholder graphic)
Change-Id: I528cae20355aa8cce7be37b26f32aa90e092708b
2010-12-15 15:26:30 -08:00
Eric Fischer
e23530456c Import revised translations.
Change-Id: I34ffef45bbff0751e940c063b2e45da27a3a7b26
2010-12-14 13:57:15 -08:00
Marc Blank
06a2f4a3b1 New message list formatting per pixel perfects
* Need icon assets (attachment, meeting, star on/off, and
  checkbox on/off)

Change-Id: I6780fb354584ce5ea398b555a8485cf600617586
2010-12-13 15:32:05 -08:00
Andy Stadler
4f2f603bb2 Add scrollview to all setup activities
* Prevents hidden elements while keyboard open
* Buttons float to bottom in portrait mode

Note: Actual positions & sizes are non-final


Bug: 3188940
Change-Id: I1ee849a7dadc7da874df0fb420101c38d8e01f37
2010-12-10 17:53:49 -08:00
Marc Blank
369daac5c3 Merge "Prevent display of incorrect widget title on orientation change" 2010-12-10 15:32:05 -08:00
Marc Blank
7fcc12f799 Prevent display of incorrect widget title on orientation change
Change-Id: Ib43e3d4e261a65f0c7a49b8595131e0b0150484a
2010-12-10 10:04:00 -08:00
Eric Fischer
ed47cd81c5 Import revised translations.
Change-Id: I3e06adb0ef6c40fd0ad36b618100248a3f2292bf
2010-12-09 16:06:49 -08:00
Andy Stadler
3dedc8b191 Defragment AccountSetupBasics
* This was an early attempt at fragmentation
* But it turned out that no fragment was needed here - it is
  not shared or reused in any way.
* Precursor to doing final layouts for the activity.
* Tested working:
    Automatic provider lookup
    Manual
    POP/IMAP and EAS flow modes (from accounts & sync)
    Force account creation intent
    Provider note
    Duplicate account detection

Change-Id: I434edd4b152391d36e70440873932db3ec1a1c99
2010-12-09 11:05:34 -08:00
Andy Stadler
6a78be9623 Merge "Add preference for background downloading" 2010-12-08 12:28:22 -08:00
Andy Stadler
f983c75b44 Add preference for background downloading
* Defaults to false
* Placeholder text

Change-Id: I7c729eddb7b4d368a0ac47552c911d2ef11b3ee1
2010-12-08 12:28:02 -08:00
Makoto Onuki
45e04b009d Update error banner
1. Error banner now pushes down the entire screen, rather than covers it.
2. Switch to the new ObjectAnimator for the animation to achieve #1.
   (Traditional Animation doesn't do this)
3. Dismiss the banner when getting any callback with MessagingException == null
   and progress > 0, only when the account is the one that caused the last error.
4. MessageListXL now registers its own ControllerResult to detect
   connection errors, and more importantly, when they're cleared.

Bug 3240874
Bug 3240406

Change-Id: I07f8e2f589bb1d312859824f9ec398879003ba16
2010-12-07 16:49:26 -08:00
Makoto Onuki
4d02297f4a MessageView: Show progress icon while loading
To avoid flicker.

Bug 3225088

Change-Id: Ic5faea4e6fc810aa751b9f0b9d04537e5dc29970
2010-12-07 14:36:09 -08:00
Makoto Onuki
dff337af12 Merge "Message view: Use system tab style" 2010-12-07 14:24:03 -08:00
Marc Blank
cb5f42dab9 Add CHAR_LIMIT to strings
Bug: 3197247
Bug: 3174971
Change-Id: If1307429cd2fee290d28f75d50b01d9c84534705
2010-12-07 11:09:13 -08:00
Makoto Onuki
2ac95b550d Message view: Use system tab style
Bug 3138021

Change-Id: I18ec66966e984a4f2b9e330d0ef14dbca5cce5e3
2010-12-06 16:51:01 -08:00
Makoto Onuki
74e094834c New style for the new message notification
Bug 3176956

Change-Id: Id7418fb8bb942230266815167f0a2e79062a9116
2010-12-06 14:51:19 -08:00
Justin Ho
1003d9584b Integrating updated Email status bar notification icons
Change-Id: I639e1959c25a04583cf06820918679d2a5265e4a
2010-12-03 18:18:27 -08:00
Andy Stadler
112ed496f8 Update server settings to current look
* For each of incoming, outgoing, exchange fragment, create a "settings
  mode" which slightly alters the layout for use in AccountSettingsXL.
  * Build a settings mode wrapper layout around the basic fragment
  * Add new constructor to set "settings mode" and select layout
  * Add wiring for cancel/next buttons in the fragment
* AccountSettingsXL configures each fragment in its settings mode
* Remove old actionbar "Next" options (no longer needed)

TODO: Pixel perfect adjustments, colors, fonts, etc.

Bug: 3188951
Change-Id: Iba26281b214333db301dd40d6c016b6c5a932c2d
2010-12-02 21:45:04 -08:00
Eric Fischer
a55a9d2dcb Rename Indonesian and Hebrew translations to match Locale.java conventions
Change-Id: I33d1c70820d5ac2aec9941aabbd83160ee879e42
2010-12-02 14:10:56 -08:00
Eric Fischer
ec580af73e Import revised translations.
Change-Id: Id772f458d77b54425b80933a3e154f9f492a6cc6
2010-12-01 15:17:05 -08:00
Marc Blank
1b9337ea4f Wireframe email widget
* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
2010-12-01 13:37:57 -08:00
Andy Stadler
1ca111c19c Add password expiration plumbing
* Set aggregated expiration values with DPM
* Fix min/max logic when aggregating, and fix unit test
* Add expiration tests when checking if policies are active
* Add expire-password to uses-policies set
* Handle password refresh (clear notifications and sec. holds)
* Handle password expiration (warning and/or wipe synced data)
* Unit tests for provider-level methods
* Refactor common security notification logic
* Placeholder notification strings (need final)

Bug: 3197935
Change-Id: Idf1975edd81dd7f55729156dc6b1002b7d09841f
2010-12-01 12:58:36 -08:00
Makoto Onuki
d1ee5b8fa5 EML viewer: Set title, and show arrow next to the app icon
- Set "Viewing FILENAME" as title.
- Home icon now has "back" arrow.  Closes the activity when clicked.

Bug 3221312

Change-Id: I689499e10704d3c5d206df4aa12e21db9687c4c5
2010-12-01 11:35:09 -08:00
Makoto Onuki
eee6f5e81f Importing new icons.
Change-Id: I1f66f934b3ccbf912f4b3305e3adffc367759423
2010-12-01 10:34:13 -08:00
Makoto Onuki
2201b38fe3 Add error message UI
Show an error message in a yellow bar at the top of the activity.

Bug 3230116

Change-Id: I45dad233c1ab52de365c8caedb4eeff29aefac65
2010-11-29 16:07:38 -08:00
Eric Fischer
947ee4537d Merge "Import revised translations." 2010-11-29 16:05:44 -08:00
Eric Fischer
d23fce1ab6 Import revised translations.
Change-Id: I73185cb23b4ec2612e47e5b16b2eeddf71693065
2010-11-29 15:14:54 -08:00
Andy Stadler
97874770fc Move "Add Account" to ActionBar
Not currently enabling/disabling properly, filing a framework bug.

Bug: 3188951
Change-Id: I9c8900187048f548411a23c2a1b0208c79fc0a24
2010-11-29 15:00:37 -08:00
Gilles Debunne
ac25a48d7b Merge "Removed unused assets." 2010-11-24 14:41:54 -08:00
Makoto Onuki
54513ed740 Merge "pixel-almost-perfect: mailbox list" 2010-11-24 13:47:04 -08:00