jeudi 2 juin 2016

EditText with formatted text is possible!

Hi all,

long time I was looking for a solution to format text in an edittext field (e.g. font size , bold, italic, font color, background color). Now I found a solution in the Android developer pages: Spannable.

"Spans" are the format informations which are stored together with the plain text in an edittext field.

I want to give a small example for people who are also interested in that problem.

If you selected a part of the text in an edittext field, you can set its type e.g. to bold by...

EditText with formatted text is possible!

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1suobtm
via IFTTT

Aucun commentaire:

Enregistrer un commentaire