force color.transparent in article views on 2.3

This commit is contained in:
Andrew Dolgov 2013-10-22 20:04:24 +04:00
parent 5e99572c78
commit 683abfa5e8
2 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
cssOverride = "body { background : transparent; }";
}
if (useTitleWebView) {
if (useTitleWebView || android.os.Build.VERSION.SDK_INT < 11) {
web.setBackgroundColor(Color.TRANSPARENT);
} else {
// seriously?

View File

@ -230,7 +230,7 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector.
cssOverride = "body { background : transparent; }";
}
if (useTitleWebView) {
if (useTitleWebView || android.os.Build.VERSION.SDK_INT < 11) {
web.setBackgroundColor(Color.TRANSPARENT);
} else {
// seriously?