|
|
@ -24,6 +24,7 @@ class AboutActivity : BaseActivity(R.layout.activity_about) { |
|
|
|
.replace(R.id.fl_fragment, aboutFragment, fTag) |
|
|
|
.replace(R.id.fl_fragment, aboutFragment, fTag) |
|
|
|
.commit() |
|
|
|
.commit() |
|
|
|
tv_app_summary.post { |
|
|
|
tv_app_summary.post { |
|
|
|
|
|
|
|
try { |
|
|
|
val span = ForegroundColorSpan(accentColor) |
|
|
|
val span = ForegroundColorSpan(accentColor) |
|
|
|
val spannableString = SpannableString(tv_app_summary.text) |
|
|
|
val spannableString = SpannableString(tv_app_summary.text) |
|
|
|
val gzh = getString(R.string.legado_gzh) |
|
|
|
val gzh = getString(R.string.legado_gzh) |
|
|
@ -33,6 +34,9 @@ class AboutActivity : BaseActivity(R.layout.activity_about) { |
|
|
|
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE |
|
|
|
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE |
|
|
|
) |
|
|
|
) |
|
|
|
tv_app_summary.text = spannableString |
|
|
|
tv_app_summary.text = spannableString |
|
|
|
|
|
|
|
} catch (e: Exception) { |
|
|
|
|
|
|
|
e.printStackTrace() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|