1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-28 04:02:19 -05:00
Commit Graph

235 Commits

Author SHA1 Message Date
Jesse Vincent
594b3291ac move the messageview from a merge to a linearlayout 2011-02-10 17:57:54 -05:00
Jesse Vincent
44607638d9 remove a noop layout entry 2011-02-10 16:46:14 -05:00
Jesse Vincent
a3793ac651 Merge branch 'crypto-view'
* crypto-view:
  Move as much of the Apg code as possible to its own "view" class (should eventually be a fragment?)
  Bumped manifest to 3.702
2011-02-10 14:20:09 -05:00
Jesse Vincent
850aee9008 Move as much of the Apg code as possible to its own "view" class
(should eventually be a fragment?)
2011-02-10 14:02:21 -05:00
Andrew Chen
4aaabddfa5 astyle 2011-02-08 18:54:07 -08:00
Andrew Chen
cc9d6ac5ea Add button to allow editing of quoted message in HTML mode by dropping user back to text mode. Fixes issue 2959. 2011-02-05 15:14:02 -08:00
Daniel Applebaum
6c03c968ef Provide for users with good eyesight to completely take advantage of the
"smaller" (and smaller) fonts by allowing the Accounts and Folder List
items to have a height smaller than the normal Android minimum.  This
option is off by default to maintain existing behavior for
uninterested parties.  The preferences text is not especially
compelling so could certainly be changed if better phrasing is found.
2011-02-03 03:42:45 +00:00
Kris Wong
88d0af16a5 Updated Exchange setup view. 2011-01-28 22:45:10 +00:00
Jesse Vincent
f66245a9ff slightly tweak scrolling buttons to not get cut off with a fading edge 2011-01-17 17:25:22 +00:00
Jesse Vincent
bd66315375 Visual cleanup of messageview. Clean up of icon display codepaths 2011-01-17 17:25:00 +00:00
Jesse Vincent
90ef6781d4 A few pixels here and a few pixels there to add a bit of breathing room
to our message listss
2011-01-14 03:54:04 +00:00
Jesse Vincent
1d1b1affe9 Revert "refactor apart the messageview layouts"
This reverts commit 88c30be91957a4cf97fe10ee42760fbf782886aa.

Sadly, it broke display of attachments

Conflicts:

	res/layout/message_view_body.xml
	res/layout/message_view_header.xml
2011-01-13 16:29:07 +00:00
Andrew Chen
e56b044bbc Add support for HTML composition with text alternative.
Revamp K9 Identity string.
Quote names in Address only when needed.
Remove quoted text bar and move button to quoted text area.
2011-01-12 23:48:28 +00:00
Jesse Vincent
674d6774b2 factor out crypto layout. 2011-01-10 17:47:32 +00:00
Jesse Vincent
9d5704c0f5 Split the Header view out from the MessageView activity 2011-01-10 17:47:28 +00:00
Jesse Vincent
3d9391cf26 refactor apart the messageview layouts 2011-01-10 17:47:12 +00:00
Jesse Vincent
19c5324316 Extract AttachmentView and MediaScannerNotifier into their own classes 2011-01-06 16:56:20 +00:00
cketti
a1e059e871 Introduced setting to change the font size of the message preview in the message list.
Fixes issue 2788
2010-12-30 00:52:00 +00:00
Jesse Vincent
0c426c9c4b Round our color chips, clean up color hcip rendering a bit 2010-12-28 09:11:10 +00:00
Jesse Vincent
5f9eae1580 Extract MessageWebView specific code into a new class 2010-12-25 22:30:16 +00:00
Jesse Vincent
749072c4e7 Remove duplication between versions of the message view 2010-12-13 00:18:04 +00:00
Jesse Vincent
26712ed84a reshuffle color views into view/ 2010-12-13 00:18:00 +00:00
Jesse Vincent
76b6fa696b Move the ToggleScrollView into the view/ hierarchy 2010-12-13 00:17:54 +00:00
Jesse Vincent
aa2960eb04 move the AccessibleEmailContentActivity into activity/ 2010-12-13 00:17:49 +00:00
Jesse Vincent
85eb17e88d Slightly better padding around checkboxes in the touchable view 2010-12-13 00:17:41 +00:00
Jesse Vincent
4a4c03568c Improve the first page of the wizard on tablet-scale devices 2010-12-13 00:17:35 +00:00
Jesse Vincent
dbc07d14ee Revert "http://code.google.com/p/k9mail/issues/detail?id=2682" until we
can make it configurable, per discussion with Marcus

This reverts commit 1436eeefa292f64c8c9aa6ec9fa2daaeafeb93fd.
2010-11-29 02:21:27 +00:00
Marcus Wolschon
4f08820683 http://code.google.com/p/k9mail/issues/detail?id=2682
mark multiple mails as SPAM
2010-11-22 08:12:48 +00:00
Jesse Vincent
46300ac421 Move our "pick a folder" preferences out of the account setup wizard,
where you're unlikely to even have access to them the first time you
walk through into the "Folders" preferences.

At the same time, move toward using a list preference widget, rather
than a custom activity.
2010-11-17 03:43:02 +00:00
Jesse Vincent
52e2a437fb Imported a variant of http://code.google.com/p/android-color-picker/ into k-9
- Ported to the ColorPickerDialog API
- Translated the API and Internals from Indonesian to English
- Moved to use K-9 strings rather than custom strings.

In an ideal world, we should use ambilwarna as an android library
project, like it was intended.
2010-11-08 02:21:32 +00:00
Jesse Vincent
c0d9939ec6 Restore generation of messagelist chips, now that we have an elastic
message size.
2010-11-07 00:30:12 +00:00
Jesse Vincent
9d69875246 Add a new preference to let users select how many lines of message
preview show in message-preview mode.
2010-11-05 02:59:26 +00:00
cketti
7acb7ceda3 Display name and email address in separate lines for auto-complete results in message compose activity.
Fixes issue 2442
2010-10-30 21:06:09 +00:00
Jesse Vincent
c5cf9e5c8c message_to_label and message_to_fmt were used from places that weren't
their original sources. rename them to lie less.
2010-10-29 22:34:59 +00:00
Jesse Vincent
4b9d4b677a Improved accessibility for next/prev buttons
(reported by a screenreader user)
2010-10-23 17:33:18 +00:00
Jesse Vincent
a683186f6e move 3 IMAP preferences out of the "wizard" flow to an advanced page
where they belong
2010-10-11 00:08:47 +00:00
Jesse Vincent
28388b235e move "saveAllHeaders" to the account preferences screen. 2010-10-11 00:08:39 +00:00
Marcus Wolschon
5bbaf88972 elipsis at front with long subfolder-pathes.
(Only the last part of the path is interesting)
2010-09-27 11:59:17 +00:00
Koji Arai
b1074329e4 On the MessageList and the MessageView, prefer to use the display name registered in the Contacts rather than raw addresses.
Update issue 2144
2010-08-30 14:37:34 +00:00
Jesse Vincent
86dc82f916 Merge branch 'ideal-screenreader'
* ideal-screenreader:
  The IDEAL Group have joined the K-9 dogwalkers and submitted their code to be part of K-9!
  Initial import of the Ideal K-9 branch which adds support for screenreaders.
2010-08-18 02:01:10 +00:00
cketti
5cb1c16003 Small layout change for sign/encrypt button in message compose activity. Shifts the encrypt checkbox to the right to make room for longer key descriptions/email addresses. 2010-08-05 12:08:13 +00:00
cketti
bd563291c1 Set text color for text on sign and encrypt checkboxes in the message compose layout so it will also work in dark theme.
Fixes issue 2100
2010-08-05 12:02:47 +00:00
Jesse Vincent
7a4d12b53b Merge from apg-integration 2010-07-27 12:10:09 +00:00
Jesse Vincent
338919a9a0 Merge remote branch 'remotes/issue814'
* remotes/issue814:
  Changed the appearance of the ChooseAccount activity to better match the look of the account list.
  svn:eol-style set to LF (UNIX style)
  Update issue 814 Status: Started Cc: +fiouzy Reuse of res/layout/accounts_item.xml to match account list Automatically expand/scroll to Intent-presented account
  - Patch provided by fiouzy (ability to choose identity from other accounts) - Modifications in MessageCompose by cketti (use MessageReference to replace mFolder and mSourceMessageUid)
  Created branch for issue 814 (Feature to select account to send from in compose screen)
2010-07-22 03:15:28 +00:00
Jesse Vincent
6ef923be91 After we download attachments, get rid of the "old" attachment views 2010-07-19 01:54:55 +00:00
Jesse Vincent
6d20c65778 remove the old "isdownloading" notification for the current message. 2010-07-19 01:53:49 +00:00
Jesse Vincent
111e6f5109 First pass at a "download the rest of this message" button 2010-07-19 01:52:59 +00:00
Thialfihar
8310224b89 fix typo "authtype" instead of "auth_type" that caused crash in Incoming Server settings, used the chance to rename all "*_authtype_*" resources to "_auth_type_*" to avoid future confusion 2010-07-09 02:54:15 +00:00
cketti
b188630eb4 Applied patch by ndarilek (thanks!) to add android:contentDescription attributes to unlabeled input fields to improve accessibility.
Fixes issue 1948
2010-07-08 12:18:12 +00:00
cketti
1eb37c2031 Added menu option to select & copy text in the message view.
The standard ScrollView causes problems when selecting text (and the message is long enough so scrolling is possible). The newly introduced ToggleScrollView can be set to disable scrolling via touch gestures thus making copying multi-line text sections possible.

Fixes issue 662
2010-07-07 22:14:45 +00:00
Thialfihar
00a8f948eb added launcher shortcuts to accounts, refs issue 1025 2010-07-07 16:17:13 +00:00
Thialfihar
8752347b5f merged archive-move-spam-buttons into trunk 2010-07-05 13:41:52 +00:00
Thialfihar
03b28c8b68 Added account settings for "archive" and "spam" folders. See issue 3. 2010-07-04 13:48:06 +00:00
cketti
7f625b5ef4 Added option to specify Reply-to address for an identity. Patch provided by fiouzy (Thanks!).
Fixes issue 1762
2010-06-20 12:48:22 +00:00
cketti
d56f786f88 Always use colors from light theme for recipient dropdown list (because we always use the light theme to display the compose message dialog).
Fixes issue 942
2010-06-13 15:25:46 +00:00
Jesse Vincent
dcd83f243b For post-2.8 - start at replacing text buttons with image buttons.
better images are desperately needed.
2010-06-10 03:37:23 +00:00
Jesse Vincent
953fd8f5ef Fade out the bottom edge of message previews in the touch view 2010-06-09 02:50:38 +00:00
Jesse Vincent
53f8937bc3 Don't ellipsize the time either 2010-06-09 02:45:20 +00:00
Jesse Vincent
0cec2e9044 Fix cut off "Mark unread" text in multi-select 2010-06-09 02:23:56 +00:00
Jesse Vincent
2123cd01bc a bit of whitespace cleanup to xml 2010-06-09 01:56:14 +00:00
Jesse Vincent
961f1bd2d9 Don't eillipsize dates in message view; right justify it, too 2010-06-09 01:56:07 +00:00
Daniel Applebaum
34a95ba006 Allowing entering alphabetic characters for the Outbox folder name. 2010-05-31 21:49:59 +00:00
Daniel Applebaum
dedfd026be Fixes Issue 254
Provide for only showing folders that are subscribed on the server
(IMAP only)

Also:
Change default for Notification behavior to the old way.  Make going
to the search for unread messages off by default.

Fix up some hiding of labels, etc. on the incoming server settings.

Check for message suppression in search results.
2010-05-30 16:56:50 +00:00
cketti
c5486469c2 - Add menu item to show additional headers in the message view
- Add option to save all headers locally (incoming server settings)

Applied patch provided by timmlinder with small modifications.

Fixes issue 43
2010-05-21 15:34:29 +00:00
Jesse Vincent
093d65513a Clickable folder icons in account lists to get to folder lists, even if
there's an auto-open folder
2010-05-12 02:52:10 +00:00
Jesse Vincent
defaf7bbbf fix the heights of the multi-act buttons to not be inconsistent 2010-05-11 23:58:02 +00:00
cketti
6a5b3b8a7f Reverted lower minHeight for account and folder list as requested by jessev. 2010-05-11 00:17:32 +00:00
cketti
d938a7807e Set minHeight of accounts and folder list to the height of star/envelope instead of listPreferredItemHeight. This way there's no jumping when message counts are returned from the database (see r1664) and the list item height is mostly defined by the font size. 2010-05-10 23:16:54 +00:00
Jesse Vincent
2733254832 We shouldn't be setting a minimum item height in the message view. 2010-05-10 20:08:31 +00:00
Jesse Vincent
9a816fc2f4 list items stop jumping out from under fingers as counts are returned from the database were
leading to a really bad user experience.

This change sets up min-item-heights per discussion with cketti to stop
that.
2010-05-09 20:08:11 +00:00
Daniel Applebaum
a1b8b2c67c Put the stars and envelopes on the same line. This isn't the ideal,
because I don't like the stars moving around depending on whether
there is an envelope, but at least the overall list layout is a bit
improved (and more compact when using small fonts).
2010-05-09 15:48:39 +00:00
Daniel Applebaum
6aeac22dad Fixes Issue 300
Fixes Issue 772
Fixes Issue 852

Issue 300: Handle incoming IMAP tokens in a case-insensitive manner

Issue 772: Add Yahoo workaround

Issue 852: Add configurable IMAP IDLE refresh frequency in Incoming
server settings

Also:
Add configuration option for whether push system executes a poll on
each connect.

Move the configuration for the maximum number of push folders to the
Incoming server Settings.
2010-05-09 15:27:41 +00:00
cketti
59c3300d71 Fixes issue 1004 2010-05-04 20:54:46 +00:00
cketti
4290b74e86 Removed unused resources from res directory 2010-05-03 13:08:38 +00:00
Jesse Vincent
5131dba71d Overhaul message header display to scale reasonably with font-size
changes but not to waste lots of space unnecessarily.  The placement of
loading and attachment icons may want additional love. I'm not sure
where they might best be placed.
2010-05-03 00:20:19 +00:00
cketti
8baedd0966 Widen message list chip to better match message view. 2010-05-02 18:11:59 +00:00
cketti
f2880d08b3 Changed scrollbar style back to outsideInset. 2010-05-02 17:45:31 +00:00
Jesse Vincent
d0e0dceab7 Widen folder and account list chips to better match message-view 2010-05-02 15:53:26 +00:00
Daniel Applebaum
6e9145f037 Adjunct to the new variable font sizes, allow the Account list and
Folder list items to vary in size based on the font sizes.
2010-05-02 04:54:09 +00:00
cketti
9eadd15c09 In message view:
- Changed scrollbar style
- Changed button heights to default
- Wider "Open" and "Save" buttons for attachments
2010-05-02 00:27:42 +00:00
cketti
d67307a2f8 Changed message view header to get rid of overlapping texts.
Fixes issue 808
2010-05-02 00:04:27 +00:00
cketti
7cb0797afc Prettified message_compose.xml 2010-05-01 22:42:32 +00:00
cketti
98d711c668 Set background color of message compose view to white (so it won't look strange with the dark theme). 2010-05-01 22:09:20 +00:00
Daniel Applebaum
488301d03e Revert r1611. The extra alignment constraints made the stars go blank
when there was more than one digit for the starred count.
2010-04-27 03:18:41 +00:00
cketti
02f4d08396 - Added 1dip bottom margin to "number of starred messages" in account and folder list (looks nicer with dark theme)
- Prettified folder_list_item.xml
2010-04-26 22:22:23 +00:00
cketti
d082809524 Used LinearLayout + android:layout_weight to simplify account + message list. Fixes color chip height issue in the message list. 2010-04-26 19:50:25 +00:00
cketti
b7297f774b @id -> @+id 2010-04-26 18:28:22 +00:00
cketti
e0e5da2d01 Display long account names or email addresses nicely in account list (issue 1478). 2010-04-26 18:26:10 +00:00
cketti
9fa9389386 - Removed the fixed height for message list items
- Sender name doesn't overlap the date anymore
- Sender name and date go below subject (don't overlap)

For now the color chip on the left doesn't use the full height of the message list item because of limitations of RelativeLayout.

First shot at fixing issue 1478.
2010-04-26 17:36:33 +00:00
cketti
bad67d5e17 - Changing the order of the date and subject TextViews in the XML file should fix the overlapping text issues
- Prettified message_list_item_touchable.xml

Fixes issue 1350
2010-04-26 17:10:46 +00:00
Jesse Vincent
0e4028d458 right-align stars in folder and account lists 2010-04-26 14:52:04 +00:00
Daniel Applebaum
267f02fc48 Add a color chip to the left side of the message headers so that it is
possible to tell in which account the message is located.  Especially
useful when traversing search results in the MessageView.
2010-04-25 16:33:32 +00:00
Jesse Vincent
c649073fa7 Finish removing the old Android 1.0 chips 2010-04-25 08:59:59 +00:00
Jesse Vincent
d6bc0765d8 Allow users to set the account 'Chip' color per account. 2010-04-25 08:47:24 +00:00
Daniel Applebaum
f185240f67 Make stars and envelopes on folder active. 2010-04-24 19:10:57 +00:00
Daniel Applebaum
41c5dc5986 Fixes Issue 1448
Fixes ClassCastException.

Also:
Envelope and star in Accounts Activity are now both "hot".  Tapping
the main part of the search opens the full search; tapping the
envelope opens the search only for unread messages; tapping the star
opens the search but only for starred messages.

The envelope and star are a bit small to reliably tap.  Both options
should be available via long-press, also.

Methodology will be extended to real accounts, as well.
2010-04-22 02:20:35 +00:00
Daniel Applebaum
cb4504cc33 Fixes Issue 1055
Provide a visually more interesting unread mail counter box that works
in both light and dark themes.
2010-04-20 04:17:15 +00:00
Daniel Applebaum
5bd24fe425 Fixes Issue 1410
Fixes Issue 1431

Present flagged message count inside a star, matching the visual
presentation on individual messages.

Provide display of unread and flagged message counts for canned
searches.

Perhaps the message counts for searches and account size display
should be defeatable for improved speed.
2010-04-17 03:32:17 +00:00
Daniel Applebaum
2212236418 Should have been committed with r1491 for Issue 1224 2010-03-07 00:39:26 +00:00
cketti
f2f3b4263d Fixed editable TextView 2010-02-13 18:20:08 +00:00