cketti
93b94f58c8
Add support for 'theme packs'
...
Right now only replacing the icon in the action bar is supported.
That's why the term "Icon Pack" is used in the UI.
Known bug: In a PreferenceActivity the second level still shows the
default app icon in the action bar :(
Icon packs need to include an activity with an intent filter for
the action "org.k9mail.THEME_PACK".
Example:
<activity android:name=".SomeActivity">
<intent-filter>
<action android:name="org.k9mail.THEME_PACK" />
</intent-filter>
<!-- Version number for the theme pack format -->
<meta-data android:name="version" android:value="1"/>
<meta-data android:name="name" android:value="Fancy icon"/>
<meta-data android:name="author" android:value="cketti"/>
<meta-data android:name="icon_app"
android:resource="@drawable/ic_app"/>
</activity>
2013-07-01 07:35:01 +02:00
cketti
85e7d4fa12
Don't crash when MessageList is started with no intent extras
2013-06-29 03:22:44 +02:00
cketti
b03b487d62
Remove contacts helper code specific to SDK 7
2013-06-25 22:47:47 +02:00
cketti
2789e9fa38
Don't use extended notifications when privacy mode is enabled
2013-06-17 16:26:49 +02:00
cketti
6a6bb95ad4
Only enable debug logging when running a debuggable build
...
There have been some complaints from Android developers that get flooded
by K-9's log messages when debugging their own apps. Oops :)
2013-06-09 02:39:47 +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
Joe Steele
769ad843dd
Revert "Fix for StrictMode error."
...
This reverts commit bbdec62e37
.
Aside from being the incorrect solution for fixing the problem
described in pull request 211, the patch generates 'Dead code'
warnings inside the if(){} statements on lines 46 and 47.
The correct fix for the problem was already implemented in commit
5678786c97
.
Although the logcat in the pull request was generated after the fix,
line numbers in the log indicate that it was based on an outdated
version of MimeUtility.java from before the fix.
2013-06-03 11:59:58 -04:00
cketti
34812fa5b8
Correctly initialize mSingleAccountMode
...
This fixes a NullPointerException when trying to open account settings
from the Unified Inbox (when there's only one account).
2013-05-27 16:59:07 +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
79059e30da
Remove override annotation so we can use the latest SDK to compile
2013-05-23 16:45:19 +02:00
Koji Arai
f87ff20556
Merge pull request #309 from jca02266/preserve-spaces
...
Fixed issue 5630: Quotes are missing a space between > and the quoted text
2013-05-15 21:24:29 -07:00
Koji Arai
4dcf50d127
Re-desined textToHtml() according to the state transition diagram.
2013-05-11 08:44:17 +09:00
Koji Arai
6c4461cd13
Fix to preserve spaces
2013-05-09 23:08:11 +09:00
Koji Arai
fa80313f6b
Should preserve spaces at first of line.
2013-05-09 22:11:50 +09:00
Joe Steele
acfc3e0f63
Fix settings versioning after merging autofitWidth branch.
...
Versioning on master was updated subsequent to the creation
of the branch.
2013-05-08 23:10:01 -04:00
Jesse Vincent
2e74d28da9
Merge branch 'Issue_4503_auto-fit_messages_option' of https://github.com/zjw/k-9 into zjw-Issue_4503_auto-fit_messages_option
...
* 'Issue_4503_auto-fit_messages_option' of https://github.com/zjw/k-9 :
Revert "Don't show a disabled preference if there is nothing a user can do to enable it."
Fix indentation
Correct preference version number.
Issue 4503: Auto-fit messages option
Don't show a disabled preference if there is nothing a user can do to enable it.
2013-05-07 21:49:12 -04:00
cketti
edf75ec05a
Fix crash on search with multiple accounts set up
2013-05-05 03:03:40 +02:00
Joe Steele
97a2f1b261
Revert "Don't show a disabled preference if there is nothing a user can do to enable it."
...
This reverts commit 0ecc49815f
because
an equivalent commit was subsequently made to master:
5f49195a0a
2013-04-28 13:37:29 -04: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
46ed21d9f5
Merge branch 'smtp_port_fix'
2013-04-26 02:30:27 +02:00
cketti
b91b86c657
Change SMTP default port to 587
2013-04-26 02:29:36 +02:00
cketti
1c722876f1
Use very light grey instead of white for message text in dark theme
2013-04-24 01:05:11 +02:00
cketti
d14bdc0b79
Exclude folders Trash, Spam, and Outbox from "All messages"
2013-04-23 20:14:29 +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
dzan
6c1b3cbc68
Change smtp+tls default port to 587.
2013-04-20 18:02:30 +02:00
cketti
5f49195a0a
Hide "condensed layout" setting instead of disabling it
2013-04-19 02:24:41 +02:00
cketti
e15409bafa
Don't show ALL unread messages for "notification opens unread messages"
2013-04-18 22:06:33 +02:00
cketti
0d80dd8fe1
Avoid another NPE
2013-04-18 05:49:18 +02:00
cketti
51ad31a513
Avoid NullPointerException
2013-04-18 05:43:11 +02:00
cketti
4890cd9ea0
Better cope with messages having identical message IDs
2013-04-17 02:09:43 +02:00
cketti
d29825fe57
Fix settings file versioning
2013-04-16 01:21:26 +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
Joe Steele
84769d2433
Fix indentation
2013-04-11 22:26:32 -04:00
Joe Steele
aedbe46975
Correct preference version number.
...
New number should match updated Settings.VERSION
2013-04-05 11:02:20 -04:00
Joe Steele
d9979cb1a2
Issue 4503: Auto-fit messages option
...
Create a preference option to automatically shrink messages
to fit the screen width (default setting is "shrink").
2013-04-04 17:11:17 -04:00
Joe Steele
0ecc49815f
Don't show a disabled preference if there is nothing a user can do to enable it.
2013-04-04 16:48:54 -04:00
Jesse Vincent
f363333c87
simplify the messagelist chips based on lots of user screaming. default checkboxes to being on.
2013-04-02 23:49:06 -04: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
b096c2bf19
Fix unread count in notifications (again)
2013-04-02 21:47:37 +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
002e3dd538
Avoid IllegalStateException
...
Reported for Kaiten:
java.lang.IllegalStateException: Can not perform this action after
onSaveInstanceState
...
at android.support.v4.app.DialogFragment.dismiss
2013-04-02 04:02:54 +02:00
cketti
9d7eae252e
Avoid NullPointerException
2013-04-02 04:02:25 +02:00
cketti
0ba4bf6973
Fix NPE when fragment detached from activity
2013-04-02 04:02:24 +02:00
cketti
bc665bffe1
Fix NPE introduced in 340d6e0522
2013-03-31 16:53:27 +02:00
cketti
48c3fbd2ba
Don't crash when being started by an old unread widget intent
2013-03-31 01:35:38 +01:00
cketti
33a2b05701
Get rid of accidentally created "-NONE-" folder
2013-03-31 01:13:09 +01:00
cketti
f95e64f766
Don't create folder -NONE- when excluding special folders from a search
2013-03-31 01:02:31 +01:00