make source link clickable
This commit is contained in:
Mariotaku Lee 2015-05-08 13:33:55 +08:00
parent a10f56a38a
commit 2ee8864652
2 changed files with 4 additions and 10 deletions

View File

@ -353,14 +353,9 @@ public class DraftsFragment extends BaseSupportFragment implements Constants, Lo
@Override
protected void onPreExecute() {
super.onPreExecute();
mHandler.post(new Runnable() {
@Override
public void run() {
final SupportProgressDialogFragment f = SupportProgressDialogFragment.show(mActivity,
FRAGMENT_TAG_DELETING_DRAFTS);
f.setCancelable(false);
}
});
final SupportProgressDialogFragment f = SupportProgressDialogFragment.show(mActivity,
FRAGMENT_TAG_DELETING_DRAFTS);
f.setCancelable(false);
}
@Override

View File

@ -761,8 +761,7 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
} else if (!TextUtils.isEmpty(timeString) && TextUtils.isEmpty(source)) {
timeSourceView.setText(timeString);
}
timeSourceView.setMovementMethod(null);
timeSourceView.setMovementMethod(StatusContentMovementMethod.getInstance());
textView.setText(Html.fromHtml(status.text_html));
linkify.applyAllLinks(textView, status.account_id, layoutPosition, status.is_possibly_sensitive);