cketti
d3f9633378
Merge branch 'fragments'
2012-10-08 14:33:33 +02:00
Jesse Vincent
f62ac401a0
make the stroke border on our color chips a bit wider to make them easier to see
2012-10-06 17:31:24 -04:00
cketti
8a226972a5
Extracted functionality common to most activities to K9ActivityCommon
2012-10-05 18:14:07 +02:00
cketti
bbcc4988ba
Converted message view to a fragment
...
The fragment should be fully functional. The only thing missing is the
animation when showing the next/previous message.
2012-10-05 18:14:07 +02:00
Jesse Vincent
7b23704bd5
Add "cc Me" and "from me" color chips. Uprez the chips 10x so we get crisp views rather than awful bitmappy stuff
2012-10-03 21:56:28 -04:00
Jesse Vincent
0e3f87f77f
Chip updates based on work by m0vie
2012-09-24 19:25:34 -04:00
Jesse Vincent
8df55d069d
make the checkmarks a bit more prominent
2012-09-21 17:27:59 -04:00
Jesse Vincent
baf99b114b
refactor chip code to be a little less ugly
2012-09-21 17:27:58 -04:00
Jesse Vincent
b9395da6be
slight tweaks to chip shape
2012-09-21 00:50:00 -04:00
Jesse Vincent
9a8c050539
slight tweak to the new chip formats
2012-09-21 00:12:09 -04:00
Jesse Vincent
e55b1e0738
Move the message star into the chip. (Also, the "to me" information)
2012-09-20 23:30:52 -04:00
m0viefreak
771b5122d6
MessageView theme toggle: change the theme of the whole activity and not just the background of the WebView
...
Using dark theme with white WebView background looks very ugly,
especially when a "download complete message" or a "show images"
button is present.
This change applies the theme to the whole activity.
Also changed the text for the toggle menu. It's also shorter now,
and isn't cut off anymore on hdpi/480px wide devices.
2012-09-15 07:22:25 +02:00
Bernhard Redl
76d8e11703
+toggle option in message view to change message display theme (dark,light) permanently (Issue 1674)
2012-09-14 03:16:36 +02:00
cketti
2a05bc0caa
Use ActionBarSherlock's MenuBuilder for the "more" menu
2012-09-12 18:26:51 -04:00
Jesse Vincent
c9897a5c84
Indicate read state in chips
2012-09-10 11:01:51 -04:00
Jesse Vincent
78cf804aca
first pass of converting chips to colored circles
2012-09-10 10:40:20 -04:00
Andrew Chen
9fbb2b4836
Show the subject line in the MessageHeader if the ActionBar title was truncated.
2012-09-09 13:45:33 -07:00
Andrew Chen
4a416f7acd
Hide subject line in MessageView since it's now displayed in the actionbar.
...
Now that the subject line is gone, the right side of the header is now the tallest part of the header.
Put date and time on the same line to keep the header compact.
2012-09-09 13:41:49 -07:00
Bernhard Redl
56105bcfe3
+ add support for $Forwarded IMAP flag
2012-08-29 02:26:38 +02:00
cketti
c0153a1636
Display decrypted/verified messages like text/plain messages
...
Nicely format the text instead of wrapping it in <pre> tags.
2012-08-27 17:38:10 +02:00
cketti
2e454f0af7
Removed "System zoom controls" setting
...
We always allow zooming but hide (provided the Android version supports
it) the on-screen zoom controls if the device supports multi-touch,
hence pinch-to-zoom.
2012-08-15 00:21:22 +02:00
Jesse Vincent
74f04e75e3
A first spike of integrating http://code.google.com/p/android-titlebar-webview
...
on my nexus 7, the webview and titlebar are overlapping each other, still
2012-08-02 16:49:21 -07:00
Jesse Vincent
17a6f79365
Better solution coming up!
...
Revert "Added fallback for when WebView.setEmbeddedTitleBar() is not available"
This reverts commit 6073b9d3fa
.
2012-08-02 16:11:10 -07:00
cketti
5467a71cbf
Added work-around for image loading bug in Android 4.0's WebView
...
Fixes issue 3997
2012-07-16 02:14:42 +02:00
cketti
b72fcd9d4b
Only use the single-column layout on known good Android versions
...
Fixes issue 3820
2012-07-13 23:04:04 +02:00
cketti
a281b3401e
Extracted code to disable Lint warning when using newer API
2012-07-07 15:03:23 +02:00
cketti
6073b9d3fa
Added fallback for when WebView.setEmbeddedTitleBar() is not available
...
The (undocumented) method WebView.setEmbeddedTitleBar() was removed in
Android 4.1 which caused the message header to never be displayed.
This fallback is only a temporary fix. We really need to come up with a
solution that feels like the previous (setEmbeddedTitleBar) behavior.
2012-06-29 00:14:06 +02:00
cketti
ee1288ee75
Disable special screen reader mode on ICS
...
The default message view is accessible enough.
Info and original patch provided by Nolan Darilek.
See issue 4153
2012-06-18 03:17:02 +02:00
Bernhard Redl
39f5587f30
Fixed Issue 4222. Use of the wrong method to get device-SDK version resulting in errors on ApiLevel 7 (2.1) devices.
2012-04-17 00:09:00 +02:00
cketti
e88fbf43d0
Removed unused ToggleScrollView
2012-04-04 10:04:57 +02:00
cketti
5041a2c832
SingleMessageView cleanup
2012-04-04 10:04:57 +02:00
Bernhard Redl
eba886b85d
Render html code to make white on DarkTheme (fixes 4196)
2012-04-04 01:46:22 +02:00
cketti
4612ceb3c8
Enabled dark theme for MessageCompose and MessageView
2012-04-03 07:55:51 +02:00
cketti
5819d27394
Added long-press popup menu to WebView in SingleMessageView
...
Actions:
- Open link for viewing
- Share link
- Copy link to clipboard
- View image
- Download/save image
- Copy image URL to clipboard
- Call number
- Save phone number to Contacts
- Copy phone number to clipboard
- Send mail
- Save to Contacts
- Copy email address to clipboard
This is based on work done by kernelhunter92 and ShellZero.
Fixed issue 1248
2012-04-01 22:46:36 +02:00
cketti
1596ddfaab
Moved sanitizeFilename() to com.fsck.k9.helper.Utility
2012-04-01 21:14:43 +02:00
cketti
482ae352c1
Reverted most of the recent message header changes
...
Clicking the additional headers area still allows to hide that view
again.
2012-03-18 04:51:29 +01:00
cketti
faf9dc6e02
Restored show/more less indicator in the message header
2012-03-06 04:38:08 +01:00
m0viefreak
8d12244a9c
Message header changes
...
* remove expand/collapse arrows, instead use the background area of the header to toggle
* allow expanding of To: and Cc: texts when too long and cut off by clicking on them
2012-03-02 06:15:55 +01:00
m0viefreak
f1baa8f461
invalidate message content WebView when the message header changes
...
This fixes redraw issues where text appears doubled or is cut off
2012-03-02 05:16:58 +01:00
cketti
ba979808fe
Use AttachmentView instance as onClick and onLongClick listener
2012-02-27 21:45:47 +01:00
cketti
206c559236
Don't handle exceptions in AttachmentView.populateFromPart()
...
We now catch exceptions in SingleMessageView.renderAttachments(). This
way we can avoid adding AttachmentViews that couldn't be properly
populated.
2012-02-27 21:45:47 +01:00
cketti
25dff5ae6a
Don't choke on invalid size parameters for attachment parts
2012-02-27 21:45:46 +01:00
cketti
2cb31a2fac
Added button to show unnamed and inline attachments
2012-02-27 21:45:46 +01:00
cketti
7c97527d73
Allow message header to scroll when displaying the attachment list
2012-02-25 00:43:09 +01:00
cketti
c1d663b084
Save/restore instance state for MessageHeader
2012-02-24 04:07:29 +01:00
cketti
4e12dc154e
Save/restore instance state for SingleMessageView
2012-02-24 03:43:42 +01:00
cketti
2c09d75afa
Switch to "message view" when displayMessageBody() is called
2012-02-23 00:10:47 +01:00
cketti
18c96f94d6
Retain "show pictures" state on orientation change
2012-02-22 23:26:59 +01:00
cketti
2b54599c2b
Small code cleanup
2012-02-22 22:56:05 +01:00
cketti
0ef9c516be
Moved click listener from MessageView to SingleMessageView
2012-02-22 22:44:31 +01:00