1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 19:45:05 -05:00
Commit Graph

4131 Commits

Author SHA1 Message Date
Danny Baumann
473a9d4fa2 Use star icon provided by framework.
Provides us with a holo-styled star for free.
2013-02-13 11:13:47 +01:00
Danny Baumann
4b0c969138 Use real holo background on ICS+. 2013-02-13 11:13:42 +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
Jesse Vincent
a0be890b4d iadd a slightly less-bad label for the reply/forward submenu 2013-02-11 15:20:54 -05:00
maniac103
30c057a391 Merge pull request #253 from maniac103/cleanup-date-handling
Clean up date handling.
2013-02-11 08:53:24 -08: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
maniac103
3074f25df3 Merge pull request #252 from m0vie/fixes
hdpi drawable / header cleanup / subject fixes
2013-02-11 04:48:55 -08: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
m0viefreak
88676cae6e Fixup for 5fa7e65816 (forgot hdpi drawable) 2013-02-11 13:05:51 +01:00
Danny Baumann
d6fb018b1c Fix some more layout issues. 2013-02-11 13:03:30 +01:00
Danny Baumann
511e981914 Update German translation. 2013-02-11 12:48:35 +01:00
Danny Baumann
5b816f0cbd Make space between from, to and cc consistently sized. 2013-02-11 12:22:20 +01:00
Danny Baumann
98737149c1 Fix message header layout issues. 2013-02-11 10:48:49 +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
Jesse Vincent
03428f1a31 remove the background color from message view headers 2013-02-10 20:23:26 -05: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
14b4b28fa0 relayout the message header area 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
cf988cad7e Use new holo-themed icons when possible 2013-02-10 01:16:46 +01:00
cketti
cb15975dab Remove ugly (placeholder?) icons 2013-02-10 01:16:45 +01:00
cketti
737ba05a8d Merge pull request #250 from rk4an/patch-1
fix a little typo in language file
2013-02-09 08:57:52 -08:00
Erkan
0ccc8807a0 Update res/values/strings.xml 2013-02-09 17:53:37 +01:00
cketti
171ecc483b Clean up drawable folders 2013-02-09 06:19:03 +01:00
cketti
3a7f1249dc Fix some display issues 2013-02-08 18:04:39 +01:00
cketti
b25dfb802d Resize the contact picture bitmaps to the display size 2013-02-08 18:04:38 +01:00
cketti
d86dd3a4e7 Add setting for contact pictures to import/export code 2013-02-08 15:41:14 +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
cketti
ae5e1af54d Fix settings import/export 2013-02-08 15:24:04 +01:00
m0viefreak
c59d70b8c6 Compose: Don't just theme the editboxes, but the whole content (but not the actionbar)
This way also the From: selection, To:, Cc, and Bcc: are themed correctly.
It looks more homogeneous and is consistent with the looks of the MessageView.
2013-02-08 15:24:04 +01:00
Danny Baumann
8f3e61feab Convert theme setting value to an enum. 2013-02-08 15:24:03 +01:00
Danny Baumann
bd154c4c0f Allow changing the message composer theme (background and text color). 2013-02-08 15:24:02 +01:00
Danny Baumann
728c1bdabe Remove text selection menu item for JB and higher.
Those versions have text selection support built-in (via long pressing
the WebView).
2013-02-08 15:24:02 +01:00
Danny Baumann
2ea0961006 Move message view theme setting from message view menu to global prefs
by default.

The message view theme isn't something the user is likely to change on a
regular basis, so we don't need to clutter the message view menu with
this setting. The menu item can still be enabled for those who want it.
2013-02-08 15:24:01 +01:00
Jesse Vincent
7714bc3cfa Move "show all headers" into the menu (and out of the UI) 2013-02-07 15:27:22 -05:00
Jesse Vincent
eff9e8c97a Bumped manifest to 4.325 2013-02-06 22:30:01 -05:00
Jesse Vincent
4871e6e49f changelogging 2013-02-06 22:29:53 -05:00
cketti
610af1dfe5 Don't blindly use the saved display mode value 2013-02-06 21:21:13 +01:00
cketti
1244cc864a Make sure onSwitchComplete() is also called when animations are disabled 2013-02-06 21:21:13 +01:00
Danny Baumann
0febc8c312 German translation wording fix. 2013-02-06 20:36:57 +01:00
cketti
0cd7eb12ed Don't call MessageListFragment methods until initialization is complete 2013-02-06 18:11:29 +01:00
cketti
74bbbe7ea5 Fix not marking messages as read on viewing 2013-02-06 17:38:10 +01:00
cketti
07490613b6 Merge pull request #242 from maniac103/fix-sort
Fix sorting of threaded messages.
2013-02-06 08:22:22 -08:00