Skip to content

Commit

Permalink
Make question text links clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa committed May 3, 2016
1 parent 8f27eb2 commit e938e98
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ private MediaLayout createQuestionMediaLayout(FormEntryPrompt p) {
questionText.setTypeface(null, Typeface.BOLD);
questionText.setPadding(0, 0, 0, 7);
questionText.setText(promptText == null ? "" : TextUtils.textToHtml(promptText));
questionText.setMovementMethod(LinkMovementMethod.getInstance());

// Wrap to the size of the parent view
questionText.setHorizontallyScrolling(false);
Expand Down

0 comments on commit e938e98

Please sign in to comment.