Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple rich text editor in Android

Tags:

android

How can I implement an editor with font styles, sizes and colors in Android. And how can I save the note and open it after creating the note with all these styles.

like image 768
chiru Avatar asked Feb 02 '26 07:02

chiru


1 Answers

Why don't you store it as HTML? :) Simple as that.

if you want to complicate it a bit, you should store all Spannable data as XML and while parse it and restore the styles when displaying it back.

like image 80
st0le Avatar answered Feb 03 '26 21:02

st0le