Danny Baumann
ae28b1aa38
Center folders without status (e.g. outbox) in folder list again.
2013-03-06 10:30:23 +01:00
cketti
f990e6f032
Fix indentation and code style
2013-03-06 07:53:39 +01:00
Uni-
323159ef97
Fix error duplicating false accounts when adding an account
2013-03-06 07:52:32 +01:00
cketti
4202ffe57d
Merge branch 'improve_import'
2013-03-06 07:49:53 +01:00
cketti
7ff0da0b52
Refactor code to start Accounts activity to import settings
2013-03-06 06:26:04 +01:00
cketti
dc8cb3ba17
Fix indentation/code style
2013-03-06 06:16:07 +01:00
Uni-
4f5ab86be3
Add settings import on Welcome
2013-03-05 16:31:45 +09:00
Uni-
91a32e9c92
Fix NPE on isAccountNameUsed
2013-03-05 16:29:03 +09:00
cketti
754c0f2b93
Don't load resources when activity is not attached
2013-03-05 04:18:54 +01:00
cketti
c07f94e877
Fix NPE when moving a message from Unified Inbox (multiple accounts)
2013-03-05 04:09:47 +01:00
cketti
fe02f0c44a
Avoid NPE reported via Play Store
2013-03-05 03:54:27 +01:00
cketti
df8ea306b8
Avoid NPE
2013-03-05 03:35:09 +01:00
cketti
e77c341542
Avoid NPE reported via Play Store
2013-03-05 03:31:18 +01:00
cketti
5270ebd629
Avoid NPE
2013-03-05 03:26:09 +01:00
cketti
41244ef448
Don't finish() MessageList when forwarding or replying to a message
2013-03-04 21:19:08 +01:00
cketti
78dc5e5194
Use different background for selected messages in message list
2013-03-03 22:52:03 +01:00
cketti
04e1bf6976
Restore code to remember the last direction messages were displayed in
2013-03-01 22:38:09 +01:00
cketti
207e2a1e56
Notification icon update
...
Android 2.2: use old icon
Android 2.3: new icon, (try to) follow icon guidelines for 2.3
Android 3.0+: new icon, follow guidelines for 3.0+
See http://developer.android.com/guide/practices/ui_guidelines/icon_design_status_bar.html
2013-02-26 20:34:52 +01:00
cketti
556503318c
Rework code for predefinied account colors
2013-02-26 18:29:12 +01:00
dzan
f7bef247f5
Fix setChipColor call.
2013-02-26 09:42:49 +01:00
dzan
6735592204
Add a series of predefined account colors and pick those if any remain before generating complete random one.
2013-02-25 14:34:53 +01:00
cketti
eed64a37f8
Remove unused batch button settings
2013-02-22 23:40:42 +01:00
cketti
906163b538
Use correct string for notification title
2013-02-21 05:42:04 +01:00
cketti
d6d9effbec
Remove unused stuff
2013-02-21 02:00:12 +01:00
cketti
92c21ece6d
Fix showing unread count in pre-Honeycomb notifications
...
Fixes issue 4904
2013-02-20 23:55:46 +01:00
cketti
fdfaf03b7a
Fix dialog message when deleting multiple messages from a notification
2013-02-19 05:38:48 +01:00
cketti
3379fdb573
Merge pull request #266 from m0vie/npe-fix
...
message view / list: fix NPE when list is empty
2013-02-18 20:33:25 -08:00
cketti
1a034d3e59
Merge pull request #265 from jca02266/master
...
If there is no message, it should return to a MessageList.
2013-02-18 20:32:16 -08:00
cketti
50fcff76fd
Add a caching layer to EmailProvider
...
Database updates can be surprisingly slow. This lead to slow updates of
the user interface which in turn made working with K-9 Mail not as fun
as it should be. This commit hopefully changes that.
2013-02-19 04:45:14 +01:00
m0viefreak
dd5d8561cd
message view / list: fix NPE when list is empty
...
This happened for example in a starred-message-only view when
un-starting the last message. This led to isFirst() and isLast()
causing a NullPointerException when trying to update the
previous / next buttons.
2013-02-18 19:02:22 +01:00
Koji Arai
7da4c7cc1b
Avoid IndexOutOfRangeException.
...
If there is no next message, it should return to a MessageList.
2013-02-19 02:06:36 +09:00
cketti
44da998f0c
Fix NullPointerException
2013-02-18 05:05:01 +01:00
cketti
25c452420d
Resize contact images to display size
...
Display size was changed in 20d229c91b
2013-02-13 19:43:07 +01:00
Danny Baumann
370ef4c181
Fix NPE.
...
As the background is gone now, we shouldn't touch it anymore.
2013-02-13 14:50:48 +01:00
Danny Baumann
49d1bdbcb0
Improve last folder update time formatting.
2013-02-13 11:20:40 +01:00
Danny Baumann
099da1913b
Improve some layouts.
2013-02-13 11:20:33 +01:00
Jesse Vincent
d92a30f807
Experimental change to move most of our refile buttons into a refile submenu. Specifically to elicit feedback. I don't expect this change to stick around in its current form. But I do want to get a sense of whether it's something that makes people happy or angry
2013-02-11 15:28:53 -05:00
Danny Baumann
7afbda9e20
Regularly trigger a title and folder update while activity is resumed.
...
This makes sure the relative times are kept up-to-date.
2013-02-11 15:44:25 +01:00
Danny Baumann
0fac8e999d
Clean up date handling.
...
Remove home-grown date formatting, and replace it by usage of the
DateUtils class which is present since API level 3.
2013-02-11 15:19:15 +01:00
m0viefreak
8d4a82ba0e
message view: fix subject bugs
...
- Android does not support ellipsize in combination with maxlines
for TextViews. This caused getEllipsisCount() in MessageTitleView
to always fail, and the full subject was never shown in the regular
headers area when needed.
To work around that, check for ourselves whether the text is
longer than 2, and ellipsize manually.
- Clicking the star button on a message caused the subject line to
re-appear, even if it fits in the action bar title without being
cut off. This was caused by MessageHeader.populate(), which always
set the subject to visible.
As a workaround: Only set subject to visible in case populate()
actually shows a new message.
- delete res/layout/actionbar_message_view.xml, its already present
in the actionbar_custom.xml
2013-02-11 13:47:31 +01:00
m0viefreak
865151fef8
merge date and time font size preference into one
...
The header changes merged those, so remove the now unneeded preferece, too.
2013-02-11 13:05:52 +01:00
Danny Baumann
ee65217ac3
Properly clear out old state when receiving a new intent.
...
This fixes the following scenario:
- Get a mail notification
- Click on notification -> message view appears
- Press home
- Get a new notification
- Click on notification -> last instead of new message is displayed
2013-02-11 09:19:42 +01:00
Danny Baumann
3807d2881d
Fix warnings.
2013-02-11 09:19:29 +01:00
cketti
73ab6ba719
Add animated notification icon for "check mail"
2013-02-11 01:31:56 +01:00
Jesse Vincent
ed90f3be44
MessageView quick contact badges
2013-02-10 19:02:17 -05:00
Jesse Vincent
fd19704fe5
show the date and time in a single view on a single line
2013-02-10 19:02:17 -05:00
Jesse Vincent
648a6eed86
move the To and Cc labels into their own Views; stop playing span games to style them
2013-02-10 19:02:17 -05:00
Jesse Vincent
82a8ac6278
There's no good reason to exclude the Subject from the "full headers" view, especicially since we now play games with it sometimes showing up in the header and sometimes in the titlebar
2013-02-10 19:02:17 -05:00
Jesse Vincent
c4b941b9b9
Switch our font sizes to have a "default", which is the size described in the XML.
...
Unify the text field size setting code. We should put it in a better place
2013-02-10 19:02:17 -05:00
cketti
3a7f1249dc
Fix some display issues
2013-02-08 18:04:39 +01:00