Proyectos de Subversion Android Microlearning

Rev

Rev 1 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 4
Línea 25... Línea 25...
25
 
25
 
26
        textView = (JustifiedTextView) findViewById(R.id.activity_text);
26
        textView = (JustifiedTextView) findViewById(R.id.activity_text);
Línea 27... Línea -...
27
        //textView.setText(description);
-
 
28
 
27
        //textView.setText(description);
29
 
-
 
30
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
-
 
31
            textView.setText("" + Html.fromHtml(description, Html.FROM_HTML_MODE_COMPACT));
-
 
Línea 32... Línea 28...
32
        } else {
28
 
Línea 33... Línea 29...
33
            textView.setText("" + Html.fromHtml(description));
29