1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 05:55:06 -05:00
k-9/res/values
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
..
arrays.xml Merge branch 'split_view' 2013-02-02 05:30:30 +01:00
attrs.xml MessageView: Theme fix when global and message view theme differ 2013-02-04 19:30:40 +01:00
colors.xml Removed unused stuff 2012-05-24 06:17:48 +02:00
constants.xml Extracted some strings to constants.xml 2012-04-23 15:05:29 +00:00
dimensions.xml Imported a variant of http://code.google.com/p/android-color-picker/ into k-9 2010-11-08 02:21:32 +00:00
ids.xml Issue 2296 Spam message 2011-04-01 05:54:51 +08:00
strings.xml Improve certificate failure notifications. 2013-02-02 13:04:41 +01:00
styles.xml Simplify code and beautify pre-jellybean notifications by using bold 2013-01-02 17:02:57 +01:00
themes.xml MessageView: Theme fix when global and message view theme differ 2013-02-04 19:30:40 +01:00