Commit Graph

433 Commits

Author SHA1 Message Date
Jorge Ruesga 707cdc8b18 email: support per-folder notifications
This change enables support to configure per-folder notifications options.

Change-Id: I6107340da3438ea223506bb22ff898cca179c1f6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
2015-10-18 14:03:22 -07:00
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
Martin Hibdon f987ef8f13 Add ability to clear migration state to debug screen
This makes it a lot easier to test migration code.

Change-Id: I22de8c06c34964b8eb7182571094e54f04d739b8
2014-09-24 11:48:46 -07:00
Tony Mantler c6d5ec490e No more big yellow envelope
b/17266006

Change-Id: I80d91992430c7da30e81a8e0783e6308ba286303
2014-09-10 13:51:11 -07:00
Tony Mantler 0ee421760a Merge "Fix spinners layout mangling" into ub-gmail-ur14-dev 2014-09-09 16:26:40 +00:00
Tony Mantler e5ac64a103 Fix spinners layout mangling
Setting the gravity to center_vertical seems to make them behave. Not asking.

Also clean up the layout file in general.

b/17380851

Change-Id: I45ac202825295c577dd1a13a3176ac685bd9b9d8
2014-09-08 15:51:05 -07:00
Paul Westbrook 9754cced47 Remove unused resource
Also, allow the widget preview to be overlayed, in the universal mail app
so there is ony one copy

Bug: 17414014
Change-Id: Ib58adb0b89d89feb025567258c0ea827e4d856ae
2014-09-07 11:57:29 -07:00
Martin Hibdon 51c653646d Put debug screen back into settings
There is still work to be done here:
* The debug setting is not persisted in Exchange, so if
the exchange service is killed, when it restarts the logging
will not be active.
* Nothing in Exchange actually does any additional logging
if this logging is turned on.

Change-Id: Ic578e6956f70dd47fba9b2895385312f71c47abf
2014-08-28 11:53:51 -07:00
Tony Mantler 751a029c31 Convert server settings to dialog
b/8134410

Change-Id: I3c4c9a02a37571a9c7af10971840fbe39458244e
2014-07-29 15:12:04 -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
Milos Stankovic 4fb4820223 Moving Previous, Next and Done strings to UnifiedEmail.
Other change: 500164
Change-Id: I2eb4fd00b62d18c523c3ec49eec6748eb602e7cd
2014-07-11 10:54:58 +00:00
Tony Mantler 06415a635f Unify settings activity
b/9566150

- Install PublicPreferenceActivity
- Create AccountServerSettingsActivity to contain all the crazy
    logic we don't want in AccountSettings
- Add restoreAccountWithAddress to Account
- Refactor almost everything out of AccountSettings
- Tidy the QuickResponse fragment
- Majorly refactor the AccountSettingsFragment to decouple it from
    the activity, and make it save settings immediately instead of
    when pausing
- Move login warning dialog to AccountSettingsFragment
- Tweak HeadlessAccountSettingsLoader

Change-Id: Ie69181d968b9c3e5940cfef9690b1f5c70e21aa8
2014-06-27 10:49:18 -07:00
James Lemieux 6dce0b1819 "No quick responses available" should display when all quick responses are deleted
b/14239989

We take advantage of ListView's feature that displays an entirely different
view in place when the backing Adapter is empty. The empty view is simply a
TextView displaying "No quick responses available".

Change-Id: I244ffd21fc4c1557c73979d4bb7c99306b11ebb2
2014-05-30 14:49:05 -07:00
Martin Hibdon 03d80363fa Merge "Update the font for account setup basics" into ub-mail-algol 2014-04-29 17:46:37 +00:00
Martin Hibdon 3264276e6c Update the font for account setup basics
b/14386385

Change-Id: Ica54796333b48bb04822406a6e2a719570840949
2014-04-28 14:58:50 -07:00
Martin Hibdon eecebc3fe7 Fix a a problem in some button padding
I was using "10sp" instead of "10dp", and it needs to be
20dp anyway.

Change-Id: I31b1f770571968547f02920be90b05e27dd5419b
2014-04-23 17:54:18 -07:00
Martin Hibdon bd7994295d Merge "Update more padding and layouts" into ub-mail-algol 2014-04-23 22:24:17 +00:00
Martin Hibdon fefeddeaf0 Update more padding and layouts
b/14255447
The password label, edit text, and clear button were not
lining up correctly. Also, there needed to be more space
around the password edit text.

Change-Id: I71864733457b3b599160a6d9a44d48d2e23961ce
2014-04-23 15:17:09 -07:00
Martin Hibdon b84087e641 Update font size for device Id
b/14255447

Change-Id: I4d994a934e1691c9bc8d2554df797fdba72d3767
2014-04-23 14:20:48 -07:00
Martin Hibdon 18e65df13a Fix some alignment issues on the certificate selector
b/14255447

Change-Id: Ic17b9ca2ff5c8196ddbed7e70d1eee0de941823f
2014-04-23 13:16:16 -07:00
Martin Hibdon e0364574dc Merge "Update padding on some buttons, and adjust font size" into ub-mail-algol 2014-04-23 18:18:53 +00:00
Martin Hibdon 6c7b413097 Update padding on some buttons, and adjust font size
b/14255447

Change-Id: I641820217df3fa3953a5c88e04870d9596224392
2014-04-23 11:17:49 -07:00
Martin Hibdon 92581f7820 Move the setup nav buttons to the bottom on tablets
b/14187851
Now the bars on the sides for tablet landscape setup are actually
in the activity, not the fragment. The setup fragment template
is identical between tablet and phone, with any differences between
them contained in different styles or dimensions.

Change-Id: Id7005f73aa29ed6010e629873155eb5fdc8e818f
2014-04-23 10:34:16 -07:00
Martin Hibdon 2883e37f0a Update labels to be upper case
b/14257168

Change-Id: I1de342636aafb3778fee470d98d821abc76cfb37
2014-04-22 14:54:33 -07:00
Martin Hibdon 0dae4d3ffb Update a bunch of layouts
b/14169396
Swap the positions of the headline text and email image
on account setup basics
b/14257403
Swap the positions of the password and "signed in with XXX"
button on the credentials fragment
b/14255447
Adjust padding to fix a number of alignment issues.

Change-Id: I011e259a86123cf205d86407def2ff774744e005
2014-04-22 14:46:32 -07:00
Tony Mantler 7b350f101c Fix layout of standalone credential activity
b/14144228

Change-Id: Ic75f2444b74e101d25afd312ba94f5df3e8204c3
2014-04-18 11:06:24 -07:00
Tony Mantler 55dbea9fe0 Actually install the correct views when credentials fragment is in standalone mode
b/13638835

Change-Id: I7800cf0638097ae70c0b22384e2effc09c6ab2e3
(cherry picked from commit fe7c3228eb)
2014-04-10 23:06:08 +00:00
Tony Mantler 021fb3cd78 More layout tweaks
b/13640507

Change-Id: I0392671df101e263aba89abc8b949fe906f34ed0
2014-04-07 11:37:37 -07:00
Tony Mantler 6cbdd5bba0 Fix more IME actions
b/13544189

Change-Id: I5dbbf45a1b68cac2d63ba41c70daff9d33cbb492
2014-04-04 16:36:06 -07:00
Tony Mantler 36da789bc2 Fix IME actions for Names screen on setup flow
b/13544189

Change-Id: I251c28918c899b8237c6eee3bc3f0beface00a38
2014-04-04 15:56:38 -07:00
Tony Mantler 12890669c3 Prevent the IME from popping up when launching setup flow
b/13769774

Change-Id: I184f577cf40d0f43adcceee6ca9bede77f37d4d0
2014-04-04 13:48:42 -07:00
Tony Mantler a67a905542 More "Manual Setup" button tweaks
b/13750692

Change-Id: I8e4c7cc1cb74af16998ec26aae506d30735ed068
2014-04-04 10:10:25 -07:00
Tony Mantler 392c263c19 Change 'Manual setup' into clickable text instead of a checkbox
b/13733521

Change-Id: I7f338cbfb8357c5e1a27c6e886ea96e5c6924d22
2014-04-01 14:11:15 -07:00
Tony Mantler 3b6b9172e4 More setup layout tweaks
b/13675117
b/13677552

Change-Id: I8a89d634f0c1d6e0766b6ecf0a839abc03864af6
2014-03-31 15:58:25 -07:00
Tony Mantler 5ee38b7444 Add more padding in setup flow for wide screens
b/13728657

Change-Id: Ib7c996d188b9f70cc4adbd2a7545c5f8a2099d87
2014-03-31 11:44:21 -07:00
Tony Mantler 296cde5603 Add disambiguation screen when user protocol choice differs from providers.xml
b/13640868

Change-Id: I75116f30e9c12d2e8b6757bf208e1519e438aed9
2014-03-28 17:08:04 -07:00
Tony Mantler a1916415fa Move nav buttons to left and right on account setup flow
For extra-wide displays

b/13640931

Change-Id: Ibc99dc287b9bb3f125abe3f931a34589927443e7
2014-03-27 16:20:49 -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
Martin Hibdon c0707dd3b4 Increase touch target for adding authentication
b/13642313

Change-Id: I9681cd6ad21e4da76cac3202dc61bdc49b978c71
(cherry picked from commit 7bf3bb9947)
2014-03-27 21:23:19 +00: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 254dde761f Fix setup flow dialog dismissal
Also remove redundant ok/cancel strings

b/13512724

Change-Id: Idfc7745fbf6a08f09051eb4a6154fc446b43eb67
2014-03-19 15:23:56 -07:00
Tony Mantler ae980cd685 Account setup flow: Move button and headline handling into fragments
b/13508015

Change-Id: I9f7a09467fbee5a57985f36eaa47c2cc7b9d4086
2014-03-17 16:45:47 -07:00
Martin Hibdon 40baa96c3f Add the password failed warning text
Now, if you fail to authenticate on the credentials fragment,
instead of taking you to the full accountSetupIncoming,
it just takes you back to the credentials fragment with
a warning that your password is wrong.
Also, make it so that pressing "next" on the password IME behaves
the same as pressing the Next button.

Change-Id: Ice91c842659c33ba6f8ac876356a79265c703e2e
2014-03-12 15:19:11 -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 658231e207 Add certificate selector to credentials fragment
This doesn't work yet because the account type selection
screen doesn't not currently come up after the initial
setup screen. Also, right now we will always display the
cert selector, regardless of security type, because at
this point in the flow we haven't asked the user for that.

Change-Id: I8b4a13030cd6a4a8b243d7208d8df9798fd24bea
2014-03-11 12:56:51 -07:00
Tony Mantler d195c85a89 Merge "Fix appearance and a11y of account setup navigation buttons" into ub-mail-master 2014-03-10 21:35:29 +00:00
Tony Mantler 44020f5e40 Merge "Convert manual setup to a checkbox" into ub-mail-master 2014-03-06 19:25:06 +00:00
Tony Mantler 2857b5d093 Fix appearance and a11y of account setup navigation buttons
b/13341957

Change-Id: I3664c83ef6c9016448fa6691bb27146fcb8144b4
2014-03-06 10:46:30 -08:00