1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-10 11:35:11 -05:00
Go to file
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
assets SingleMessageView cleanup 2012-04-04 10:04:57 +02:00
compile-only-libs Update src zip for updated v4 support jar. 2013-01-07 22:38:53 -08:00
docs Added diagram that visualizes activity interactions 2011-10-27 19:13:13 +02:00
images Clean up 'images' folder 2013-02-04 02:42:14 +01:00
libs upgraded Mime4J 0.7-SNAPSHOT -> 0.7.2 (fixes MimeMultipart parser bug) 2012-08-15 01:47:57 +02:00
plugins Update HoloColorPicker 2013-01-18 14:15:56 +01:00
res MessageView: Theme fix when global and message view theme differ 2013-02-04 19:30:40 +01:00
src MessageView: Theme fix when global and message view theme differ 2013-02-04 19:30:40 +01:00
tests Fixed unit tests 2012-10-08 14:43:34 +02:00
tools summary: updated build.xml and tests/build.xml. 2012-06-01 15:41:14 -05:00
.classpath Use ADT's magic to include the necessary libraries from lib/ 2012-09-08 21:44:49 -07:00
.gitignore Ignore IntelliJ IDEA .iws files (they are user-specific) 2012-12-11 12:35:41 -08:00
.gitmodules Kill our use of submodules dead. They're too painful for new contributors 2012-11-24 17:15:01 -05:00
.project fix the eclipse project name 2010-11-26 03:53:18 +00:00
ActionBarSherlock.iml IntelliJ IDEA: Update android support version per e796468256. 2013-01-09 13:24:30 -08:00
Android-PullToRefresh.iml IntelliJ IDEA: 12.0 updates. 2012-12-18 15:11:47 -08:00
Android.mk Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97. 2011-11-14 14:00:15 -08:00
AndroidManifest.xml Bumped manifest to 4.322 2013-02-03 23:19:09 -05:00
ant.properties Upgrade to SDK 15 2012-03-11 14:31:35 -05:00
build_common.xml fixed location of ant-contrib.jar in build_common.xml when running ant from tests/. 2012-06-07 22:57:41 -05:00
build.xml Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00
ckChangeLog.iml IntelliJ IDEA: Project updates to drag in ckChangeLog. 2013-01-09 13:26:42 -08:00
HoloColorPicker.iml Add pom and IntelliJ configuration for HoloColorPicker 2013-01-17 02:16:24 -08:00
HTMLCLEANER_LICENSE Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97. 2011-11-14 14:00:15 -08:00
k9mail.iml Add pom and IntelliJ configuration for HoloColorPicker 2013-01-17 02:16:24 -08:00
k9mail.ipr Add pom and IntelliJ configuration for HoloColorPicker 2013-01-17 02:16:24 -08:00
MODULE_LICENSE_APACHE2 Initial commit - This source code should be EXACTLY what the current version of the 'Email' application in the android repo looks like as of this date. 2008-10-28 01:04:44 +00:00
NOTICE Initial commit - This source code should be EXACTLY what the current version of the 'Email' application in the android repo looks like as of this date. 2008-10-28 01:04:44 +00:00
proguard.cfg Upgrade us to android-14 infrastructure 2011-10-27 12:41:24 -04:00
project.properties Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00