do not underline article header links

This commit is contained in:
Andrew Dolgov 2012-12-31 12:58:26 +04:00
parent 4e667479ae
commit 44598d89e9
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {