1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

1115 Commits

Author SHA1 Message Date
m0viefreak
5fa7e65816 MessageView: another theme fix
- The attachments view still had the wrong background color in case
  of different global and message themes.

- The attachments view used the activity LayoutInflater, but it needs
  to use the one of the fragment.

- The background drawable for the attachments used transparency, and
  thus was completely invisible in the black theme. Fix it by adding
  another one for the black theme.
2013-02-05 23:12:52 +01:00
cketti
f5ec5cd3fb Avoid saved state being discarded when message list is modified 2013-02-05 20:00:31 +01:00
Jesse Vincent
3b8421a9a8 Tweak animations to use the (Slightly slower) android default animation speed.
Remove the fadeout to make things look a little less weird
Make the animations slide in from the edge. (See the aforementioned comment about jankyness)

TODO: don't remove the message view until _after_ the animation runs. Before HC, that requires rather a lot more code (writing a whole animationadapter) than it should.

TODO: get the messageview to stop jumping to hide the header area as it's displayed.
2013-02-05 12:04:03 -05:00
Danny Baumann
5c779f05ab Swap previous and next buttons in MessageViewFragment.
Makes sure to keep behaviour consistent with previous versions.
2013-02-05 16:11:49 +01:00
cketti
6e9a608999 Fix typo in changelog 2013-02-05 13:40:07 +01:00
Danny Baumann
7b48df7dce Simplify message list item layout. 2013-02-05 11:16:00 +01:00
Danny Baumann
f51f675021 Simplify and improve message view header layout.
The star was displayed partially off-screen before.
2013-02-05 11:15:55 +01:00
Jesse Vincent
12c3f7fb1e changelog update 2013-02-04 22:10:05 -05:00
m0viefreak
a74d57cb71 MessageView: Theme fix when global and message view theme differ
- Since the split-view change, MessageView is only a fragment, so we
  can't call setTheme() anymore so easily.
  Instead, use a ContextThemeWrapper and use that to inflate the
  layout. This way the message header and attachment view
  are styled correctly.

- The HTC WebView fix in SingleMessageView was returning the wrong
  background color, when message view theme and global theme differ,
  because it always used the global theme to retrieve it.
  Fix: Specifically put the light/dark values in the themes.xml,
  and get them using getContext().getTheme().resolveAttribute().
  getContext() will use the ContextThemeWrapper from above, so
  even if the global and message view themes differ, it aleays
  returns the correct one.
  The getThemeBackgroundColor() method added to the K9ActivityMagic
  interface in 309eeb72ac is now not
  needed anymore, and was removed.
2013-02-04 19:30:40 +01:00
m0viefreak
2c87efe5f3 Put back prev/next buttons to non-split message views for now.
Some people prefer them over swiping / volume keys.

They could probably be made optional so they can be hidden.

Also: delete the now unused message_view_fragment.xml and message_view_option.xml.
2013-02-04 19:26:04 +01:00
Danny Baumann
bed0d16304 Update German translation. 2013-02-04 11:39:25 +01:00
maniac103
debbb27dc2 Merge pull request #244 from rk4an/master
Update French translation
2013-02-04 02:32:32 -08:00
Erkan
5c384b1b62 Update res/values-fr/strings.xml 2013-02-04 09:22:21 +01:00
Jani Kinnunen
d2e59af3fa Finnish translation updated 2013-02-04 07:55:41 +02:00
cketti
8899031a3b Update changelog 2013-02-03 15:06:56 +01:00
Sander Bogaert
565adb8aa3 Small dutch translation fix. 2013-02-02 14:25:21 +01:00
Danny Baumann
5d1e42c453 Improve certificate failure notifications.
The commit that introduced those notifications also introduced a rather
... interesting design pattern: The CertificateValidationException
notified the user of its pure existance - it's no longer a 'message'
only, but defines policy. As this is more than unusual, replace this
pattern by the MessagingController treating
CertificateValidationException specially when accessing remote folders.

Also make clear which account failed when constructing the notification.
2013-02-02 13:04:41 +01:00
cketti
cce969a6b6 Merge branch 'split_view'
Conflicts:
	res/values-de/strings.xml
	src/com/fsck/k9/fragment/MessageListFragment.java
2013-02-02 05:30:30 +01:00
cketti
156e921814 Merge pull request #239 from maniac103/improve-pref-layout
Improve layout of preference screens
2013-02-01 19:48:30 -08:00
cketti
b02e338b49 Add animation when switching from message list to message view 2013-02-02 02:21:20 +01:00
cketti
3cd1b13833 Update help text for hotkeys 2013-02-01 21:30:07 +01:00
cketti
9a4b674282 Extract string to strings.xml 2013-02-01 03:34:35 +01:00
cketti
546b9434de Remove unused layouts 2013-02-01 03:24:00 +01:00
cketti
3439a2326d Use theme-specific color for message list divider 2013-02-01 03:18:04 +01:00
cketti
6b143d845a Set MessageList title in action bar depending on display mode 2013-02-01 02:50:00 +01:00
Danny Baumann
cc805894c5 Update and improve German translation. 2013-01-31 10:42:09 +01:00
Danny Baumann
f27fc78922 Improve Account settings -> notifications layout.
It makes no sense to display ringtone and vibration as children, but not
doing that for the vibration pattern and length. As double indention is
not available, un-indent ringtone and vibration and indent the vibration
parameters instead.
2013-01-31 10:39:38 +01:00
Danny Baumann
5d713ace01 Re-order global preferences -> display.
Put folder list options between account list options and message list
options, so the order matches the order the respective activities appear
on screen.
2013-01-31 10:39:31 +01:00
cketti
554616b311 Merge branch 'master' of github.com:k9mail/k-9 2013-01-30 19:31:35 +01:00
cketti
ad2a6d7a9b Add message view menu items to MessageList 2013-01-29 01:19:53 +01:00
m0viefreak
dae3b776ff MessageList: add setting to allow 0 preview lines 2013-01-28 04:45:03 +01:00
cketti
0a14d584e9 Add 1px divider between message list and message view in split view 2013-01-25 12:19:09 +01:00
cketti
c5b1e1d0e5 Add setting to configure the splitview mode 2013-01-24 20:30:07 +01:00
cketti
573058bffc Add marker in message list for currently opened message 2013-01-24 15:36:59 +01:00
cketti
933dd95047 First very basic version of a split screen for message list + view 2013-01-24 13:04:06 +01:00
Erkan
8f17f7294b Update res/values-fr/strings.xml 2013-01-19 11:08:40 +01:00
cketti
24c10f0fd3 Explicitly set layout used in a ListActivity 2013-01-18 12:33:31 +01:00
cketti
ffda532612 Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00
Jesse Vincent
3898a9920a changelog updates 2013-01-16 16:52:56 -05:00
Jani Kinnunen
57d1780223 Finnish translation updated 2013-01-16 09:20:22 +02:00
Jesse Vincent
0519e34b09 tweak some phrasing for brevity 2013-01-15 15:36:38 -05:00
Jesse Vincent
f8414ffe99 Merge remote-tracking branch 'zjw/folder_search'
* zjw/folder_search:
  Provide message search capability from the folder list.
  Eliminate unused code.
  Switch to using the action bar for folder searches.
  Use a more appropriate title when diplaying folder search results.
  Switch to using the action bar for folder searches.
  Provide new action bar "find folder" icons
  Create action buttons to search for folders.
  Readjust settings version number based on current master
  Control wrapping of folder names programmatically only
  Permit the folder list item to expand vertically.
  Create new preference option for wrapping folder names in folder list view.
  Issue 1911:  Permit folder names to wrap on multiple lines in folder list view so users can see the entire name.
2013-01-15 15:19:12 -05:00
Jesse Vincent
841e565a49 Merge remote-tracking branch 'zjw/progress_indicators'
* zjw/progress_indicators:
  Provide a progress indicator while loading remote search results.
  Remove the progress bar from the message list footer.
  Provide progress indicator for searches.

Conflicts:
	src/com/fsck/k9/activity/MessageList.java
2013-01-15 15:06:23 -05:00
Jesse Vincent
ae6c7e37ca Merge remote-tracking branch 'zjw/issue_2389_cert_error_notice2'
* zjw/issue_2389_cert_error_notice2:
  Fix Issue 2389:  Self signed certificate expiry causes silent send/receive failure.
2013-01-15 14:44:21 -05:00
cketti
e732cb2d52 Update Spanish translation (enriquefeas) 2013-01-15 11:19:42 +01:00
Andrew Chen
cdd5694931 Merge pull request #229 from jkinnunen/UpdatedFinnishTranslation
Finnish translation updated.
2013-01-13 23:17:34 -08:00
Andrew Chen
cacc8c39b8 Merge pull request #226 from rk4an/patch-1
Update res/values-fr/strings.xml
2013-01-13 23:16:42 -08:00
Joe Steele
ad16bf94cd Provide message search capability from the folder list.
The search is performed in all folders for the account
to which the folders belong.
2013-01-13 22:35:59 -05:00
Jani Kinnunen
942621cb63 Finnish translation updated. 2013-01-13 20:39:28 +02:00
cketti
1c7cf9b5ff Update changelog 2013-01-12 23:55:31 +01:00