Commit Graph

111 Commits

Author SHA1 Message Date
Tony Mantler
1927361b25 Merge "Account authentication restyling" into ub-gmail-ur14-dev 2014-10-10 16:36:09 +00:00
Tony Mantler
19ebfab06d Restyle account setup flow nav buttons
b/17266006

Change-Id: Ie60e56b493ba23465a06cce8a3c37d3fd9d061e5
2014-10-09 10:38:47 -07:00
Tony Mantler
f5b5fe1cb3 Account authentication restyling
- Add minWidth to fragment
- Remove extraneous LinearLayout and tweak margins to avoid layout jumps
- Change + asset
- Remove old + icon from prefs header from Email

b/8134410

Change-Id: If3371017359b47d9e4280b09fd3bb074b024c23c
2014-10-08 15:49:03 -07:00
Tony Mantler
c6d5ec490e No more big yellow envelope
b/17266006

Change-Id: I80d91992430c7da30e81a8e0783e6308ba286303
2014-09-10 13:51:11 -07:00
Martin Hibdon
ae028b6c70 Add lower res versions of ic_setup_delete.png
b/16457587

Change-Id: I4bcb0c9498b680f117923802e68a0d6dc449a7e5
2014-07-21 13:39:25 -07:00
Tony Mantler
1dcdc09e03 Add "Add Account" to prefs headers
Borrowed + icon from authentication widget

b/16298155

Change-Id: I36d0eb2c7b9e98442d72481254d9a4da2ae3c999
2014-07-14 14:33:32 -07:00
Tony Mantler
4fb5412e1b Switch to material icons for Email
b/15966080

Change-Id: I5d6097e37cb47356fc70a38e1aa2ae0c41e9ae7a
2014-07-08 15:55:40 -07:00
Tony Mantler
c5e07960b6 Add giant yellow email logo to account setup screen
b/13677552

Change-Id: Icfd2e878fd62118486c347ae4737c5409a2e5c9b
2014-03-27 14:34:13 -07:00
Tony Mantler
20adb68b94 Begin fixing layouts for account setup flows
Also address some RTL issues

b/10784160
b/13544189
b/13585832

Change-Id: I5c86497940ce4b972e0ee9189418f120391a8833
2014-03-21 13:29:23 -07:00
Tony Mantler
f05a87ab47 Buttons have states
Will wonders never cease?

b/13364213

Change-Id: I040529894a7607c3574c2fd7646cd53590f12431
2014-03-11 16:08:29 -07:00
Martin Hibdon
9cf99fcf1f Update assets for setup
Change-Id: I03a2224d95f72bdecab5d98e7a2075b40eac5795
2014-02-18 13:12:23 -08:00
Martin Hibdon
0300541139 Add new navigation buttons for setup
These are not used yet, a following checkin
will put them in the setup screens.

Change-Id: Ib8c63dfb81ce9478dc9fb8ebc52e5a3af11b1686
2014-02-06 14:49:20 -08:00
Martin Hibdon
9195a12024 Create AuthenticationFragment
This is one fragment that holds all types of
authentication information, e.g. password,
OAuth info, and client certificates. What gets
displayed depends upon the type of account it is
dealing with.
So far this is only used in AccountSetupIncoming,
but later it can be added to other settings fragments.
There are still some issues with this, but I'd like
to check it in sooner than later to unblock other
work.

Change-Id: Iea675ad5c1727f32ca0baa270dfa793ab7109993
2014-01-29 11:20:53 -08:00
Scott Kennedy
19597e8e72 Move Email multi-message notification icon to UnifiedEmail
Change-Id: I70f30ac71c2c9990a8178108011db88484e6d7bc
2013-08-22 00:41:20 -07:00
Yu Ping Hu
5e5b08dcce Fix icons for unread virtual folder.
Bug: 9594158
Change-Id: I9e00e89fe74c43c99b8cb67e068aa06593c79413
2013-08-05 17:34:08 -07:00
Andrew Sapperstein
3340827bde Adding drag-state drawable to folder item icons.
Fixes b/8986628. Previously we had two states for
icons in the folder list (activated and default).
We now have a third state for when the app is in
drag mode and the folder is disabled which uses
a lighter grey icon. To make this work, we use
a custom drawable state (state_drag_mode) for
when drag is entered. Another CL will use this
new drag state for changing folder text color as well.

Change-Id: I4c752ac7b996fd026e706f8e592ec57326ac61bf
(cherry picked from commit 0670cddaf92475ff30c7bd05af337ffa12e9ca95)
2013-05-21 23:55:11 +00:00
Andrew Sapperstein
1efcdcc2cd Checking in the grey icons.
Change-Id: I4d429a49db20a12d2b971df9e395ec685f5c29e6
2013-05-20 13:46:25 -07:00
Andrew Sapperstein
7e75311926 Using proper Unread icon for unread "folder".
Fixes b/8967972.

Change-Id: I1089fdeac5803fd6f9bed19d1c22d0629814ba87
2013-05-16 11:53:23 -07:00
Andrew Sapperstein
b8d7d8d31d Fixed label icons when selected.
Fixes b/8599310. Using selector xml drawables
to properly get the right assets for the folder labels.
Also did some renaming/moving cleanup.

Change-Id: I3b5ddc9fb9da239131405880e637fa1df2c99ea6
2013-05-14 14:30:56 -07:00
Scott Kennedy
b34608228f Move notifications to UnifiedEmail
This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.

It also requires some preferences to be moved into UnifiedEmail.

Depends on Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d (UnifiedEmail)

Change-Id: Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2
2013-02-08 09:48:22 -08:00
Marc Blank
f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Mindy Pereira
21e4fe49b6 Share background styles with gmail.
Part of b/5520048 unread/ read contrast is bad for conversation list items on tablet

Change-Id: I0a5848852b15ead11bef3d56a2c1e1b324f6da73
2011-11-08 09:46:59 -08:00
Mindy Pereira
46f6a96d8a Use mailcomon for attachment styling.
Part of fixes for b/5517524 compose on tablets needs redlines

Change-Id: Ib0a2e91183583f2b02d6006aa4902bdfefaf4a82
2011-11-03 15:16:17 -07:00
Mindy Pereira
aa90b4f2eb Update attachment styles.
Part of fixes for b/5517524 compose on tablets needs redlines

Change-Id: I286c6fa57229e993660dd307fc14b929b701b47f
2011-11-03 13:53:37 -07:00
Mindy Pereira
32997aa374 New assets for notifications.
Fixes bug:5519441 Notification icons should be at 100% opacity

Change-Id: Ia98e00be96655cb9651d6b50867bb9ec95b8a8ae
2011-11-01 10:42:55 -07:00
Ben Komalo
7958ce59e6 Unused assets removed from Email
Change-Id: I347b733a28deffccdcdc0368fbf87aed71e0d95b
2011-10-21 09:10:27 -07:00
Justin Ho
90f0dc7e3b Updated multiple email notification icon
Bug: 5222432

Change-Id: I20cd30a775db25e8bf0fa1dd4a8592a00a05f53b
2011-10-13 08:53:23 -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
Ben Komalo
afdec1caf1 Tweak message header actions.
Once again, I missed an asset in the drop, since there is actually a
sepcialized one for the message view.

Also, use styles to fill out the entire height to the header to make the
touch targets bigger, as consistent with Gmail.

Bug: 5290357
Change-Id: I6754b3ef986dbf57c7c68bc595cf54cc9d76123a
2011-09-12 12:39:30 -07:00
Ben Komalo
25cd8b05e4 Fix message list backgrounds in wide mode.
The final asset drop renamed things to conversation_wide and I had
missed this case for the unread states (the rename went fine for the
read case). As a result, we didn't actually import the new unread states
for wide mode.

Bug: 5286632
Change-Id: I5b1f4120ce42ff50d713706c319260ff57274648
2011-09-09 16:25:06 -07:00
Ben Komalo
891da84a25 Misc visual fixes to Email
- dropped in bigger assets for mailbox triangle
- dropped in bigger assets for checkbox for xhdpi
- dropped in proper star asset for message list
- fixed some padding issues for message list item
- remove the color label from "Combined view" in the account drop down

Bug: 5248125
Change-Id: Ic15d98013f2afb42bf55c327654009ef8baa1b78
2011-09-01 16:51:02 -07:00
Justin Ho
50167273af Unused assets removed from Email
Bug: 5032006

Change-Id: Ia43a54e1a6f0c029cc9c15a5aa7d6f201a814e4e
2011-09-01 08:50:22 -07:00
Ben Komalo
8466f79a06 Asset drop.
- this syncs up the UX repo with the developer repo so that the assets
now match. We should be able to do wholesale drops/diffs from now on.
- lots of changes to widget so that it is (mostly) up to spec now, and
matches the preview

Bug: 5225385
Bug: 5205578
Bug: 4320895
Change-Id: I8ccbadcfc17cdb406599497edc91165809f55d68
2011-08-30 12:57:38 -07:00
Ben Komalo
5a0dd9a292 Merge "Update asset for "always show" checkmark" 2011-08-24 13:38:41 -07:00
Ben Komalo
781fa387b0 Update asset for "always show" checkmark
Bug: 5184494
Change-Id: I6bae14002d1bfaf661da95ca2b96a0af03a449cc
2011-08-24 12:42:29 -07:00
Ben Komalo
3c97a91b37 Swap read/unread state icons.
Bug: 5204621
Change-Id: I928601135cec72496d69526343dcccd80904fea5
2011-08-24 12:32:23 -07:00
Ben Komalo
44cbb82756 New icon drop.
- minor changes to some icons (can't see a difference in some of the
cases?), larger changes to others (e.g. mark unread)
- xhdpi assets for a bunch that were missing

Change-Id: Id71d22aa50440cf6c83e4244bb807e3d237949c6
2011-08-23 10:37:16 -07:00
Ben Komalo
c2b829eb1a Merge "New list background assets" 2011-08-22 14:13:26 -07:00
Ben Komalo
e8df7f6e63 New list background assets
Bug: 5160570
Bug: 5179058
Change-Id: I91834210adb21f7d4a2def4da13f007114f57348
2011-08-19 16:38:09 -07:00
Mindy Pereira
89dd731a90 Update attachment ui to look like Gmail attachment ui; fix from padding.
Fixes Bug:5184434 Compose view doesn't match pixel perfects
Change-Id: I7217eb4a63beedfd0bc00dffe9e0f29a5af6214c
2011-08-19 15:36:23 -07:00
Ben Komalo
f13fee5d78 Drop in notification for multiple new mails
Bug: 5058000
Change-Id: Ic852004f8f154943742cf40ccfb6063a736d4cae
2011-08-17 17:10:06 -07:00
Ben Komalo
a269888e30 New widget preview asset drop
Bug: 5159294
Change-Id: I9885f38e1e217aac8df80eedaea9c578e2abb193
2011-08-12 15:12:38 -07:00
Ben Komalo
136dedbbd9 Update headers in message view.
- this uses the new gradient/drop shadows
- adds quick contact badge triangle thing
- also puts in contentDescriptions for the reply/all/forward/star
  actions that were lost
- also merges the headers in tablet and phone

Bug: 5144711
Change-Id: Ie2d14c26b7818aa4389731794a15be6c31f4981d
2011-08-10 10:24:24 -07:00
Ben Komalo
03b08654e7 New attachment icons
- these were stolen from Gmail's new set. Had to resize a bit in gimp to
fit in redlines

Bug: 4320895
Change-Id: I4e3ad1718af012f2c4ec5a566cf477439bd0d6fa
2011-08-07 16:45:25 -07:00
Ben Komalo
f6348449fa Minor conversation header visual cleanups
- fix header bg on tablets
- fix font color in header
- make subject text wrap on phones

Bug: 5110992
Change-Id: I8c58271788f11251906d71073e6e03033c74f38f
2011-08-03 15:45:16 -07:00
Ben Komalo
d9e8dcae2f Update assets
- updated checkboxes (new ones for sw600dp and phone)
  ones for phone)
- updated stars (new ones for sw600dp and phone)
- added existing cc/bcc icon to menu item
- updated reply/replyall/forward actions to dark themed items (renames
involved)
- update message list backgrounds (new ones for hdpi,xhdpi, renamed
  everything so that there is no message_ or conversation_
  suffixes, also added missing states for some of the selectors)

Change-Id: I1b4f49f206b846566870f5b430e3c6386e621a0c
2011-07-28 14:40:02 -07:00
Makoto Onuki
22d1a794cd Newer/older + auto-advance for one-pane
- Moved MessageOrderManager code from 2-pabe to the base class.
- Most of the code is shared between 1-pane and 2-pane.

- Also fixed the bug where we re-created MessageOrderManager every time
the user taps newer/older, which was the reson the newer/older button
temporarily got disabled when you tapped them.
Before this CL we stopped MOM in uninstallMessageViewFragment, but now that
we don't reuse fragments this means we stops MOM when we remove the current
message view, and re-created a new one when a new message view is created.
Now we stop MOM when the right pane gets hidden (2pane) or when showing
the mailbox/message list (1pane).

- Also removed a now unused callback onMessageShown() from MessageViewFragment.
We used to update MOM on this event, but now we do this in
installMessageViweFramgment().

Bug 4575586

Change-Id: Idc4aba184f318e0c086afc29dcbe42364e2b51b3
2011-06-29 17:29:29 -07:00
Makoto Onuki
846763bd68 Improve 1-pane message visual
Also fixed the text alignment in the tabs on the 2-pane message view.

We don't yet to have the full-spec for this, so it's still temporary.

Now we again wrap the webview in a scroll view, so we'll have the "message
keeps growing" issue again.  I'll file a bug for this.

It's still temporary, so I didn't remove the scroll views for the
each section (e.g. the attachment tab).  Also I had to make up some
colors/dimensions which were unspecified.  Also I didn't always define
styles when I should.  Let's clean up these things later when we
get more detailed spec.

Change-Id: Ibdb78543f5ec7300f92091d1f8b800ca5edc74b2
2011-06-22 15:56:34 -07:00
Mindy Pereira
87763f0ae8 Integrate chips into Email.
Change-Id: Ice037a55a169037f725a667fad7714c7e9580b86
2011-06-16 17:41:04 -07:00
Makoto Onuki
c7a1cc25c2 Adding hdpi search icon
bug 4415493

Change-Id: I6cff88efaca72b887a44462861b288d90299ee3b
2011-05-13 09:03:19 -07:00