We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6567473 commit fcc06d6Copy full SHA for fcc06d6
demo/src/main/java/com/mta/tehreer/demo/LabelWidgetActivity.java
@@ -17,6 +17,8 @@
17
package com.mta.tehreer.demo;
18
19
import android.os.Bundle;
20
+import android.text.Html;
21
+import android.text.Spanned;
22
23
import androidx.appcompat.app.ActionBar;
24
import androidx.appcompat.app.AppCompatActivity;
@@ -32,6 +34,12 @@ protected void onCreate(Bundle savedInstanceState) {
32
34
if (actionBar != null) {
33
35
actionBar.setDisplayHomeAsUpEnabled(true);
36
}
37
+
38
+ String htmlString = getResources().getString(R.string.article_detail);
39
+ Spanned articleSpanned = Html.fromHtml(htmlString);
40
41
+ LinkableLabel nastaleeqLabel = findViewById(R.id.label_nastaleeq);
42
+ nastaleeqLabel.setSpanned(articleSpanned);
43
44
45
@Override
0 commit comments