diff --git a/res/layout/article_fragment.xml b/res/layout/article_fragment.xml index 679d73df..62f15143 100644 --- a/res/layout/article_fragment.xml +++ b/res/layout/article_fragment.xml @@ -65,9 +65,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" - android:ellipsize="end" - android:singleLine="true" - android:text="{Title}" + android:text="There are many variations of passages of Lorem Ipsum available" /> 200) + titleStr = m_article.title.substring(0, 200) + "..."; + else + titleStr = m_article.title; + title.setMovementMethod(LinkMovementMethod.getInstance()); - title.setText(Html.fromHtml("" + m_article.title + "")); + title.setText(Html.fromHtml("" + titleStr + "")); } WebView web = (WebView)view.findViewById(R.id.content);