Commit Graph

1550 Commits

Author SHA1 Message Date
Andrew Sapperstein 99e836097b Fix build.
Change-Id: Ie51274cb9eaf154dfc41c86b40845028b0993610
2014-06-29 19:42:29 -07:00
Tony Mantler bed71e61c7 Add override for Email general prefs header
Diverts to a fragment that excludes archive-based actions

b/15935182

Change-Id: Ic17195d15fedafc6f5fd9b95da1c08f1b563c27c
2014-06-27 13:52:42 -07: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 bf0022da50 Merge "Add UX assets for the Material-compatible search icon" into ub-mail-master 2014-06-17 20:55:27 +00:00
James Lemieux f084903f3b Add UX assets for the Material-compatible search icon
Note that ic_menu_search_holo_light.png is renamed to ic_menu_search.png
as a byproduct of this change. It is then overlayed in -v21 folders so the
new icon only applies to L and beyond.

Change-Id: I97aaf1777d84b0e7df799044996ba99029b1798e
2014-06-17 13:41:20 -07:00
Tony Mantler 6f747eb776 Unify general settings
Make Email GeneralPreferences subclass GeneralPrefsFragment.

Only contains a minimum of code to strip out archive-related prefs,
which are not relevant to the current state of Email back-ends.

(These actions could be relevant for Gmail IMAP extensions if support is added for them)

b/9566150

Change-Id: Ie8e26379ed504c7d96c2a2f8e1c843bbe0582cc7
2014-06-17 13:24:20 -07:00
Paul Westbrook e817be1353 Specify compose activity with resource.
Allow the compose activity, that the account reconciler attempts
to enabled/disable, to be able to be specified via resources.

This allows the various build targets to change the activity that is
enabled/disabled, or to not attempt to do this at all

Change-Id: I7c91c2c179316a3aac910a38d7dd0025076b085a
2014-06-17 15:47:33 +02:00
Tony Mantler 988ad6e002 Move all general prefs values to UnifiedEmail
b/9566150

Change-Id: Id7058586c71c3c1cc4933dc28532a02df90c29bc
2014-06-12 16:23:52 -07:00
Tony Mantler 51af59fc66 Remove unused preferences and dead code
Change-Id: Ica8bd735a91417ed44bd547ab7176832745d729e
2014-06-10 11:29:17 -07:00
Baligh Uddin fd6c63d18f Import translations. DO NOT MERGE
Change-Id: Ide656b0a564018891e08956d553e82f14d617e29
Auto-generated-cl: translation import
2014-06-09 13:33:23 -07:00
Baligh Uddin 0f1d3a8f11 Merge "Import translations. DO NOT MERGE" into ub-mail-master 2014-06-07 04:18:53 +00:00
Tony Mantler f765f9b976 Clean up cert activity handling
Fix re-displaying the dialog on orientation change b/5622284
Add host/port when available b/4988512
Disambiguate intent between AOSP and EmailGoogle

Change-Id: Ideeda20dfd9bd0070998ccf42d8042765866ca0e
2014-06-05 13:21:08 -07:00
Greg Bullock 9909fabcc6 Switch to using automatic resource namespaces for drawables and services.
Change-Id: If90089be6be004c87bdda5a5c3ed036a48205229
2014-06-05 17:25:51 +02:00
Baligh Uddin 507d5fe12b Import translations. DO NOT MERGE
Change-Id: I41875186f162d7a1d458cf662aeb5aade4197845
Auto-generated-cl: translation import
2014-06-04 13:18:16 -07:00
Baligh Uddin 7dfa1c6dcf Import translations. DO NOT MERGE
Change-Id: I439dbd842735d5ef2e118b863ccd32114312fbc2
Auto-generated-cl: translation import
2014-06-02 14:33:17 -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
Baligh Uddin f4155cc0a8 Import translations. DO NOT MERGE
Change-Id: I66c8a1d091bdc2ca7c4b9d967e0a03dc6efcf35d
Auto-generated-cl: translation import
2014-05-12 13:26:55 -07:00
Baligh Uddin a056d07865 Import translations. DO NOT MERGE
Change-Id: Icff42ecde2c9e838c17bc42343591c1ce779e2aa
Auto-generated-cl: translation import
2014-05-07 19:35:13 -07:00
Baligh Uddin c7653055e4 Import translations. DO NOT MERGE
Change-Id: I894c8fa01362d936b8af10b60364905359291cd0
Auto-generated-cl: translation import
2014-05-05 14:17:57 -07:00
Baligh Uddin 9333181a13 Import translations. DO NOT MERGE
Change-Id: Ifd9c6352f3b9a74c6e922cb1b4c87ae71dd01fbb
Auto-generated-cl: translation import
2014-04-30 13:55:00 -07:00
Baligh Uddin e9ec9e9bf4 Merge "Import translations. DO NOT MERGE" into ub-mail-master 2014-04-29 21:12:05 +00:00
Martin Hibdon 087ace34ea am 03d80363: Merge "Update the font for account setup basics" into ub-mail-algol
* commit '03d80363fa397aa79f4b587e120e6072bd3e270f':
  Update the font for account setup basics
2014-04-29 17:48:35 +00: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
Baligh Uddin 07e5d791e8 Import translations. DO NOT MERGE
Change-Id: I4c7f2d5f6667d749260bcd5c17e6f8cbeb771c32
Auto-generated-cl: translation import
2014-04-28 13:32:00 -07:00
Baligh Uddin 1ba8ba8033 Merge "Import translations. DO NOT MERGE" into ub-mail-master 2014-04-24 14:42:44 +00:00
Martin Hibdon ff0f768fe9 am eecebc3f: Fix a a problem in some button padding
* commit 'eecebc3fe76bc7a32a22283a481f57b9cbd51c59':
  Fix a a problem in some button padding
2014-04-24 01:06:32 +00: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
Baligh Uddin 4eda266dfd Merge "Import translations. DO NOT MERGE" into ub-mail-algol 2014-04-23 23:14:58 +00:00
Baligh Uddin 970ff11689 Import translations. DO NOT MERGE
Change-Id: I2e1aea8e6e9ae1ecee943ce1f0104d8f1260c52d
Auto-generated-cl: translation import
2014-04-23 15:30:45 -07:00
Baligh Uddin ab0a3e2440 Import translations. DO NOT MERGE
Change-Id: I0c41c8f62dcf28de327411ed622a7ddcb4e1ee95
Auto-generated-cl: translation import
2014-04-23 15:28:03 -07:00
Martin Hibdon 71fcfbc7f0 am bd799429: Merge "Update more padding and layouts" into ub-mail-algol
* commit 'bd7994295ddede1321b577ed5971174a50cfac3b':
  Update more padding and layouts
2014-04-23 22:27:53 +00: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 2c2009eb46 am 6e85bca6: Merge "Update strings in account_setup_options" into ub-mail-algol
* commit '6e85bca6602d5551b79cc2350c0d354fcf3844a9':
  Update strings in account_setup_options
2014-04-23 22:12:33 +00:00
Martin Hibdon fa50e32f87 am b84087e6: Update font size for device Id
* commit 'b84087e641fd5c061d2f1954b81d06953b35fe21':
  Update font size for device Id
2014-04-23 22:12:33 +00:00
Martin Hibdon 6e85bca660 Merge "Update strings in account_setup_options" into ub-mail-algol 2014-04-23 22:08:39 +00: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 10267247d2 Update strings in account_setup_options
Change-Id: I02f4eee523b921aff4b0d548a03186b6bdd8426e
2014-04-23 13:57:40 -07:00
Martin Hibdon aab3e02df5 am 18e65df1: Fix some alignment issues on the certificate selector
* commit '18e65df13a18597863041452be4dc838572b1b66':
  Fix some alignment issues on the certificate selector
2014-04-23 20:30:45 +00: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 5d288ac98a am e0364574: Merge "Update padding on some buttons, and adjust font size" into ub-mail-algol
* commit 'e0364574dc64321a6619145f8d933536bc3ac9be':
  Update padding on some buttons, and adjust font size
2014-04-23 18:21:48 +00: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 70d7473fb9 am 92581f78: Move the setup nav buttons to the bottom on tablets
* commit '92581f78207a23b0777795f5d5ffcff683aa1e21':
  Move the setup nav buttons to the bottom on tablets
2014-04-23 17:38:10 +00: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 8e4d5b7e6d am 2883e37f: Update labels to be upper case
* commit '2883e37f0aa0ce6583772a26d02d4db4ae680b14':
  Update labels to be upper case
2014-04-22 22:01:42 +00:00
Martin Hibdon bd51bc5c6a am 0dae4d3f: Update a bunch of layouts
* commit '0dae4d3ffb65eb23d5a2ea19acd4603cfba914cd':
  Update a bunch of layouts
2014-04-22 21:55:32 +00: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