Stephan Fuhrmann
3feaeb6903
GMail-app-style generated colorful one-letter contact pictures for pictureless contacts
2013-07-21 16:58:38 +02:00
Jesse Vincent
6c3fb46541
only show the super-condensed layout if the contact picture is not being displayed.
2013-07-21 09:20:40 -04:00
Jesse Vincent
86ec4b32e9
restore super-dense layout when the user has selected 0 lines of message preview
2013-07-20 14:53:39 -04:00
cketti
82c0a92049
Fix actions started from the message list context menu
...
This patch makes sure actions started via the context menu operate on
the correct message even when the message list changes and the 'adapter
position' accessible via the menu object points to another message.
When the message the menu was opened for is deleted the context menu
will be closed.
2013-07-04 02:59:00 +02:00
cketti
cb906ee6a4
Use the color chip area as click target for the multi-select checkboxes
2013-06-07 07:12:23 +02:00
cketti
f16082eab3
Always include currently opened message in the message list
...
This should fix various bugs where moving to the next/previous message
didn't work.
2013-05-23 17:15:09 +02:00
cketti
edf75ec05a
Fix crash on search with multiple accounts set up
2013-05-05 03:03:40 +02:00
cketti
c7024af9a1
Merge branch 'message-list-sender-sorting'
2013-04-26 02:39:48 +02:00
cketti
99daa4068f
Merge branch 'better_singleaccount_check'
2013-04-26 02:37:19 +02:00
cketti
8c8e0d299d
Fix copyOrMove() so it works for single messages in Unified Inbox
2013-04-23 19:25:05 +02:00
cketti
8f9dd78012
Always enable "pull to refresh" when "check mail" action is shown
2013-04-23 18:55:24 +02:00
cketti
0d80dd8fe1
Avoid another NPE
2013-04-18 05:49:18 +02:00
dzan
33cf1bc222
If messagelist started from Unified localsearch, verify if we are really dealing with multiple accounts. If not then set SingleAccountMode anyway.
2013-04-14 14:47:45 +02:00
cketti
175e29b71d
Make status display less awkward when checking mail from Unified Inbox
...
We really need to fix the ActivityListener madness :(
2013-04-03 03:08:06 +02:00
cketti
c5dc626bbc
Show "check mail" action when displaying Unified Inbox etc.
2013-04-02 21:47:20 +02:00
cketti
0c5bdf2c97
Add "Mark all as read" action to message list
2013-04-02 19:17:58 +02:00
cketti
9d7eae252e
Avoid NullPointerException
2013-04-02 04:02:25 +02:00
cketti
ce0308f528
Avoid NullPointerException in SubjectComparator
2013-03-31 00:48:01 +01:00
cketti
c4799d20f0
Fix condition on when to show "check mail" in POP3 accounts
2013-03-31 00:24:28 +01:00
m0viefreak
d85af1bfe0
reenable sorting by sender in messagelist
...
This was disabled in faa666394c
because it isn't possible to extract the name of the android
contact in the 'ORDER BY...' clause when querying the database.
Instead it simply sorts by the email address.
This may cause the same contact to appear multiple times in
the list, if they have multiple email addresses assigned.
But in most cases this is good enough and surely better than
not having the option to sort by sender at all.
Desktop mail clients such as Thunderbird also simply use the
sender email information when sorting the column.
This also adds a SenderComparator for usage in the MergeCursor.
2013-03-27 13:08:42 +01:00
cketti
2fc3909ec3
Fix NullPointerException
2013-03-22 19:51:58 +01:00
cketti
55ca846ced
Avoid NullPointerException when message contains no subject
2013-03-19 03:08:18 +01:00
cketti
6b3a3f7ee0
Fix message list item background color
2013-03-07 00:11:05 +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
5270ebd629
Avoid NPE
2013-03-05 03:26:09 +01:00
cketti
78dc5e5194
Use different background for selected messages in message list
2013-03-03 22:52:03 +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
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
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
cketti
c27a5a8104
Add setting to toggle contact pictures
2013-02-08 15:37:28 +01:00
cketti
04ce0a9d3f
Add contact pictures to message list
2013-02-08 15:37:27 +01:00
Danny Baumann
8f3e61feab
Convert theme setting value to an enum.
2013-02-08 15:24:03 +01:00
cketti
0cd7eb12ed
Don't call MessageListFragment methods until initialization is complete
2013-02-06 18:11:29 +01:00
Danny Baumann
62ee3bb0d6
Remove useless assignment.
...
mSavedListState is guaranteed to be null at this point.
2013-02-06 10:43:35 +01:00
cketti
e59d23ca0e
Fix NullPointerException
2013-02-06 00:39:45 +01:00
cketti
cb51da5ea8
Fix restoring instance state of fragment on back stack
2013-02-05 20:00:31 +01:00
cketti
4b920e19b0
Simplify Handler code to restore message list state
2013-02-05 20:00:30 +01:00
cketti
7f39b3c6d8
Fix a potential NullPointerException when rotating the device twice
...
When MessageListFragment is on the back stack and the device is rotated
the instance state will be restored but no new view will be created. If
the device is rotated again onSaveInstanceState() is called and we have
to take care not to assume that the views have been created.
2013-02-05 20:00:30 +01:00
Danny Baumann
499e20ef76
Make next/prev buttons track their state again.
2013-02-05 16:11:56 +01:00
Danny Baumann
7b48df7dce
Simplify message list item layout.
2013-02-05 11:16:00 +01:00
cketti
869a769e23
Stop using deprecated PullToRefresh methods
2013-02-03 17:22:34 +01:00
cketti
d5a417d936
Fix some warnings
2013-02-03 17:08:48 +01:00