diff options
author | Jin Cao <jinyan@google.com> | 2014-08-16 17:36:22 -0700 |
---|---|---|
committer | Jin Cao <jinyan@google.com> | 2014-08-16 17:36:22 -0700 |
commit | 57b30e63e9a51f48b4e9bfea635b9e97d873075e (patch) | |
tree | e06cff1738549ee1caecbc98a8d6803a12a1d887 /src | |
parent | 24cfa0778a966620112a5b2ca90b70c8ab8e40d9 (diff) | |
download | android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.tar.gz android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.tar.bz2 android_packages_apps_UnifiedEmail-57b30e63e9a51f48b4e9bfea635b9e97d873075e.zip |
[Quantum] Quoted text
New styles for quoted text and respond inline. I was not
able to remove the default padding that comes with the
checkbox widget, so I used negative margins to offset it.
b/16876147
Change-Id: I748ac5a99917b9c25573fa06876dd720bcccc04d
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/mail/compose/QuotedTextView.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/mail/compose/QuotedTextView.java b/src/com/android/mail/compose/QuotedTextView.java index db35ae6a8..b46273709 100644 --- a/src/com/android/mail/compose/QuotedTextView.java +++ b/src/com/android/mail/compose/QuotedTextView.java @@ -187,13 +187,10 @@ class QuotedTextView extends LinearLayout implements OnClickListener { } private void populateData() { - String backgroundColor = getContext().getResources().getString( - R.string.quoted_text_background_color_string); String fontColor = getContext().getResources().getString( R.string.quoted_text_font_color_string); - String html = "<head><style type=\"text/css\">* body { background-color: " - + backgroundColor + "; color: " + fontColor + "; }</style></head>" - + mQuotedText.toString(); + String html = "<head><style type=\"text/css\">* body { color: " + + fontColor + "; }</style></head>" + mQuotedText.toString(); mQuotedTextWebView.loadDataWithBaseURL(null, html, "text/html", "utf-8", null); } |