Commit Graph

361 Commits

Author SHA1 Message Date
Tony Mantler
aaa5b71cec Split AccountSetupNames into Activity and Fragment
Change-Id: Ie42bbbc0c5a4cc5402d6df2837894b5eddd52501
2013-12-16 14:52:32 -08:00
Martin Hibdon
874d25ff70 Add temporary code to do oauth authentication
This just adds an oauth button to the accountSetupBasics
screen, which will launch a webview and go to the google
authentication page.

Change-Id: I09d5182fa6081fb94b40e7910b71afbbee70387e
2013-12-06 17:39:23 -08:00
Tony Mantler
9cf823794e Remove hint text, add contentDescription to the name account page
This matches the tablet version of this screen.

b/10695468

Change-Id: I3b0bfa75cf2e897a16e3493fc4cfc8e74f35e498
2013-09-18 13:32:11 -07:00
Scott Kennedy
e3a0ef87be Remove a bunch of unused resources
Change-Id: I3ae05b530046a087f150da0ceb8b59f7970da817
2013-08-22 00:31:12 -07:00
Tony Mantler
72632593cd android:layout_alignParentTop is not a property in LinearLayout
Change-Id: I2c3debd331ee2074ff6432a4f5a680ade8c6ef6d
2013-08-14 13:25:22 -07:00
Tony Mantler
cef6c19be2 Move the "Add new quick response" button into the action bar
Change-Id: I433fb686837d0de125fb277f5055bc33b7769eff
2013-08-12 12:04:43 -07:00
Tony Mantler
6d24534804 Continue rewriting QuickResponse support
Change-Id: I95530e84d91f4becb3de5280af83ce546e1ed093
2013-08-12 11:40:16 -07:00
Tony Mantler
05273f8309 Start cleaning up QuickResponse code
Change-Id: I76b5adbe8e05713c44d11a2e51d317cae6266a56
2013-08-07 16:57:21 -07:00
Scott Kennedy
229c070b0b Change the concept of a default account
The user no longer has control over this. Now, the "default" account
(which is only used for prepopulating the name of new accounts is
either the last used account (to be defined), or the first account in
the database.

This removes a setting, and simplifies a lot of code.

We may also want to auto-select the default account when entering the
compose screen from the combined view, but we do not currently have
an easy way to do that.

Bug: 7442992
Change-Id: Iff5bb36d8cbd327334211b670fa4851cbda6b9a0
2013-06-27 10:22:22 -07:00
Andy Huang
cb6bdff95c clean up old layouts, pt 3
Bug: 8393227
Change-Id: I8fbd3ed96d9f7e10708ff6b064b2fea4865c4f69
2013-04-15 13:55:14 -07:00
Mark Wei
d7970b3635 Attachments in Conversation List: UI changes to display attachment previews
in the conversation list.

Depends on:
PhotoManager: https://googleplex-android-review.googlesource.com/#/c/285814/

Bug: 7481049
Change-Id: Ia9f93c4ce75a4c9be0e9b738d0347292e4b2faca
2013-04-02 19:22:38 -07:00
mindyp
80e231027e Remove content desc; replace with hint text
Fixes b/7592130 email: "Add Exchange Account" , Emailid and pwd fields are not read as "Edit boxes"

Change-Id: I6b69084f6a2a2be9322a2b567099d534412f6905
2012-11-21 11:09:12 -08:00
Mindy Pereira
c86cd8fb81 Just use a regular text view.
Change-Id: Ib9f589392475222d34183f66f33da6d82110d47a
2012-08-03 10:48:14 -07:00
Marc Blank
c5afb16430 Add a bunch of stuff missed earlier
Change-Id: I7f707446a963912fe5786dacb5569e68db572d1c
2012-06-28 12:16:59 -07:00
Marc Blank
f419287f22 DO NOT MERGE: Move emailcommon2 sources to emailcommon
Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
2012-06-28 11:15:06 -07:00
Marc Blank
03cd72805d Revert to old Email app
* These are the last sources in the ICS-MR1 tree

Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
2012-04-25 13:58:23 -07:00
Andy Huang
a7d1b5c58c Fix various text size problems when system font size is huge
This CL to replace Iafd5d1dc.

* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: I3e46cff736a045c4a59a0ff8810977e39f903a14
2011-12-08 13:24:51 -08:00
Mindy Pereira
c756389817 Revert "Fix various text size problems when system font size is huge"
This reverts commit 19bc1921f2
2011-12-08 09:33:30 -08:00
Andy Huang
19bc1921f2 Fix various text size problems when system font size is huge
* use common styles for spinner anchor and dropdown text
  (introduced in I3063cfea)
* allow dropdown item height to scale beyond fixed height to fit
  huge text

Other fixes:
* use Gmail's color for dropdown and folder list header text
* remove spurious divider in dropdown items that precede a
  header

Bug: 5687252
Change-Id: Iafd5d1dc7c3809393c3892138b42b7274fb03a27
2011-12-07 18:28:41 -08:00
Mindy Pereira
333cdbaef4 Tweak padding slightly to match the EditTextPreference screens.
The edittextpreference uses a default system screens, but since this isn't really a preference
screen, it isn't usable here.

Change-Id: I770c12a5ec3a33906f5d6d1c9d0b7a6b027460da
2011-12-02 11:36:34 -08:00
Mindy Pereira
d637dc245b Fix layout for edit quick response dialog.
Fixes b/5528659 Quick Response "create new" dialog is janky

Change-Id: Ib78d677114f9af1969ce8314e6f58002d2ad727f
2011-12-02 11:11:21 -08:00
Minh Pham
fba2dbb35b am 16439d5e: Fix date margin
* commit '16439d5e23ea4a4bb86e7f4d23a473525e043007':
  Fix date margin
2011-11-30 10:50:53 -08:00
Minh Pham
16439d5e23 Fix date margin
- Use a specific margin for date in normal mode.
Bug: 5685616

Change-Id: I38843b66e8e2cbc077f2d7421a4e1cb86b274dc5
2011-11-29 17:40:12 -08:00
Mindy Pereira
d767a7625f Fixup wait activity screen to look like Gmail.
Fixes b/5642479 "Waiting for sync" in ugly font

Change-Id: I61ea9b296eb7f64c80f8992c77724fc02a978d38
2011-11-28 11:04:54 -08:00
Mindy Pereira
572491c36c Don't set freezeText for the unread count for the email widget.
fixes b/5608267 Widget count flickers in email widget

Change-Id: I76fb8fc04bc016770757ac0c7d7c3e2e66e6c3ad
2011-11-14 13:47:39 -08:00
Mindy Pereira
1720f82513 Make the dropdown width larger/ matching Gmail.
part of b/5520685 update account switch spinner to match Gmail layout

Change-Id: I727d318f3f10199399b61fc4455e44d302fb8e2f
2011-11-09 16:33:23 -08:00
Mindy Pereira
0730c4fcd0 Make account spinner styles match gmail style.
Fixes b/5520685 update account switch spinner to match Gmail layout
Change-Id: I06c262f16d8629696bb761b005a3728406ccce53
2011-11-09 15:52:12 -08:00
Mindy Pereira
dbfcbd7541 Vertically center checkboxes for phones with first line of subject.
Fixes b/5521010 conversation list items: checkbox not centered
Fixes b/5591310 Email crashed twice while trying to compose an email in POP/Exchange
Change-Id: I8a6bd28add83ee32906274d730d222ea75c44cb1
2011-11-09 10:32:38 -08:00
Mindy Pereira
ef22e74686 Tighten up label list on crespo so we can fit more on the smaller screen.
Fixes b/5521013 need redlines for folder view

Change-Id: I7f589754b92ae19b8ce8d8698ca9bdc9c6167faa
2011-11-08 17:39:01 -08:00
Mindy Pereira
fde8089157 Activated text should be white. Shares resources with gmail.
part of b/5520533 activated text should be white

Change-Id: Ia6f79bed2277185eca100bd6c65884a2cd574e22
2011-11-08 16:15:12 -08:00
Mindy Pereira
e813f73360 Merge "Fixup quoted text styling." into ics-mr1 2011-11-08 11:26:53 -08: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
4cd64ad4d5 Fixup quoted text styling.
Fixes for b/5517524 compose on tablets needs redlines
Change-Id: I8a7fab7ad635deee9ddb23f59ea2caf0848f496d
2011-11-03 17:33:26 -07: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
31e5beba35 Create tablet compose view.
part of Fixes for b/5517524 compose on tablets needs redlines

Change-Id: I107b58dfda3f228457a3a3b90c8f41e832007c9d
2011-11-03 10:48:45 -07:00
Andy Huang
56d6f4a6f1 Merge "Style cleanup in email message header to make it more like Gmail" into ics-mr1 2011-11-02 22:13:24 -07:00
Andy Huang
358a815701 Style cleanup in email message header to make it more like Gmail
Linkify email addresses in expanded message details
Remove divider line in upper header on phone
Embolden sender name
Twiddle expanded details line spacing and padding to match Gmail
Add space char to collapsed details recipient enumerator (comma)

Bug: 5520692
Bug: 5520787
Change-Id: Iad4a265168d111aa01654a33a9a14f7968fc3181
2011-11-02 15:50:00 -07:00
Mindy Pereira
2e3a97d625 Remove extra padding from the top of the labels list.
Wasn't needed and prevented an extra item from being shown
on smaller screen devices.
Fixes b/5521012 Fix padding in the folders list

Change-Id: Ifc940d44b9a8a0a0f0f9d04fc1958f4810adcdbe
2011-11-02 08:58:40 -07:00
Mindy Pereira
186b9a89b5 Update to mail common styles. Also updated compose hint text.
Change-Id: I4851ff148371b17b86bb1364bc0543c7e3c1f99b
2011-10-11 14:50:16 -07:00
Mindy Pereira
f5ac3c6901 Use styles in the mailcommon directory for the compose view.
Change-Id: Ib14f99355a78bb00aa06c87ae6329940f5d66444
2011-10-11 10:57:57 -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
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
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
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
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
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