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

4144 Commits

Author SHA1 Message Date
m0viefreak
08092c5b8a message header layout adjustments
- wrap chip around the whole header, including the subject
  and the expanded additional headers area.

- mindor padding adjustments to make whitepsace around the
  contact badge a bit more homogeneous.
2013-02-15 18:15:39 +01:00
maniac103
897f6e3d1c Merge pull request #254 from maniac103/holo-improvements
Holo improvements
2013-02-14 08:34:32 -08:00
cketti
25c452420d Resize contact images to display size
Display size was changed in 20d229c91b
2013-02-13 19:43:07 +01:00
Danny Baumann
370ef4c181 Fix NPE.
As the background is gone now, we shouldn't touch it anymore.
2013-02-13 14:50:48 +01:00
Danny Baumann
8e8254c2dd Build fixes. 2013-02-13 14:33:14 +01:00
Andrew Chen
0a55240c89 Merge pull request #251 from rk4an/patch-2
Update res/values-fr/strings.xml
2013-02-13 05:23:31 -08:00
Andrew Chen
fe0a2ae662 Merge pull request #249 from jkinnunen/UpdatedFinnishTranslation
Finnish translation updated.
2013-02-13 05:22:59 -08:00
Danny Baumann
49d1bdbcb0 Improve last folder update time formatting. 2013-02-13 11:20:40 +01:00
Danny Baumann
099da1913b Improve some layouts. 2013-02-13 11:20:33 +01:00
Danny Baumann
20d229c91b Make the contact badges a little smaller.
Previously, they dominated both the message header as well as the
message list by their sheer size, at least on xhdpi (Nexus 4), although
they're certainly not the most important information in there.
2013-02-13 11:20:25 +01:00
Danny Baumann
9ea5f983b5 Improve composer background coloring on Holo. 2013-02-13 11:13:53 +01:00
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
Erkan
764a8c19fc Update res/values-fr/strings.xml 2013-02-09 18:05:40 +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