Skip to content

Commit

Permalink
fix #5 - not showing HTML on search popup anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoponciano committed Jun 5, 2015
1 parent e432d5d commit 1576873
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.SearchView;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
Expand Down Expand Up @@ -133,7 +134,7 @@ public View getView(int position, View convertView, ViewGroup parent) {

// visual settings for the list item
TextView v = (TextView) row.findViewById(android.R.id.text1);
v.setText(verseText);
v.setText(Html.fromHtml(verseText), TextView.BufferType.SPANNABLE);
v.setTextSize(16);
v.setPadding(10, 10, 10, 10);
v.setTextColor(Color.WHITE);
Expand Down

0 comments on commit 1576873

Please sign in to comment.