mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-29 13:53:54 +01:00
Added CDATA tag (#1836)
* Fix issue#1772 Add the CDATA tag to welcome_help_button_text string. Set the text of the corresponding textview using Html.fromHtml() function. * Fix issue#1772 Add the CDATA tag to nominated_see_more string. Set the text of the corresponding textview using Html.fromHtml() function.
This commit is contained in:
parent
2884bd934a
commit
430bf90310
6 changed files with 15 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ import android.os.AsyncTask;
|
|||
import android.os.Bundle;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.text.Editable;
|
||||
import android.text.Html;
|
||||
import android.text.TextUtils;
|
||||
import android.text.TextWatcher;
|
||||
import android.util.TypedValue;
|
||||
|
|
@ -165,6 +166,7 @@ public class MediaDetailFragment extends CommonsDaggerSupportFragment {
|
|||
final View view = inflater.inflate(R.layout.fragment_media_detail, container, false);
|
||||
|
||||
ButterKnife.bind(this,view);
|
||||
seeMore.setText(Html.fromHtml(getString(R.string.nominated_see_more)));
|
||||
|
||||
if (isCategoryImage){
|
||||
authorLayout.setVisibility(VISIBLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue