Skip to content

Instantly share code, notes, and snippets.

View nicegoing's full-sized avatar

nicegoing

  • Shenzhen
View GitHub Profile
String user_agree_policy_1 = UIUtil.getString(R.string.user_agree_policy_1);
String user_agree_policy_2 = UIUtil.getString(R.string.user_agree_policy_2);
String user_agree_policy_3 = UIUtil.getString(R.string.user_agree_policy_3);
String text = user_agree_policy_1 + user_agree_policy_2 + user_agree_policy_3;
SpannableString spannableString = new SpannableString(text);
spannableString.setSpan(new ClickableSpan() {
@Override
public void onClick(View widget) {
Toast.makeText(context,"jump to one page",Toast.LENGTH_LONG);