From 44598d89e93b1bb3f1e2edd1de904082df0a737c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Dec 2012 12:58:26 +0400 Subject: [PATCH] do not underline article header links --- src/org/fox/ttrss/ArticleFragment.java | 4 ++-- src/org/fox/ttrss/offline/OfflineArticleFragment.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/fox/ttrss/ArticleFragment.java b/src/org/fox/ttrss/ArticleFragment.java index 86fc4472..2f41aa40 100644 --- a/src/org/fox/ttrss/ArticleFragment.java +++ b/src/org/fox/ttrss/ArticleFragment.java @@ -131,7 +131,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl } title.setText(titleStr); - title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + //title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); title.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { @@ -155,7 +155,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl if (m_activity.getApiLevel() >= 4 && m_article.comments_count > 0) { String commentsTitle = getString(R.string.article_comments, m_article.comments_count); comments.setText(commentsTitle); - comments.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + //comments.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); comments.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { diff --git a/src/org/fox/ttrss/offline/OfflineArticleFragment.java b/src/org/fox/ttrss/offline/OfflineArticleFragment.java index a16ab002..0cf5cc4a 100644 --- a/src/org/fox/ttrss/offline/OfflineArticleFragment.java +++ b/src/org/fox/ttrss/offline/OfflineArticleFragment.java @@ -128,7 +128,7 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector. final String link = m_cursor.getString(m_cursor.getColumnIndex("link")); title.setText(titleStr); - title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + //title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); title.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) {