do not underline article header links
This commit is contained in:
parent
4e667479ae
commit
44598d89e9
@ -131,7 +131,7 @@ public class ArticleFragment extends Fragment implements GestureDetector.OnDoubl
|
|||||||
}
|
}
|
||||||
|
|
||||||
title.setText(titleStr);
|
title.setText(titleStr);
|
||||||
title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
//title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
title.setOnClickListener(new OnClickListener() {
|
title.setOnClickListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
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) {
|
if (m_activity.getApiLevel() >= 4 && m_article.comments_count > 0) {
|
||||||
String commentsTitle = getString(R.string.article_comments, m_article.comments_count);
|
String commentsTitle = getString(R.string.article_comments, m_article.comments_count);
|
||||||
comments.setText(commentsTitle);
|
comments.setText(commentsTitle);
|
||||||
comments.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
//comments.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
comments.setOnClickListener(new OnClickListener() {
|
comments.setOnClickListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
@ -128,7 +128,7 @@ public class OfflineArticleFragment extends Fragment implements GestureDetector.
|
|||||||
final String link = m_cursor.getString(m_cursor.getColumnIndex("link"));
|
final String link = m_cursor.getString(m_cursor.getColumnIndex("link"));
|
||||||
|
|
||||||
title.setText(titleStr);
|
title.setText(titleStr);
|
||||||
title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
//title.setPaintFlags(title.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
title.setOnClickListener(new OnClickListener() {
|
title.setOnClickListener(new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user