Simple Richtext Editor In Android
Solution 1:
It's not difficult at all but before you start I highly recommend you to read the guide from Android Developer site: https://developer.android.com/training/basics/data-storage/index.html You will learn how to save data which is a very important part of your project.
Then you have to learn all about EditText (allows the user to type text into your app) and TextView (displays text on screen).
http://developer.android.com/guide/topics/ui/controls/text.html
When your app is finished you can add some additional functionality:
- Spelling Suggestions https://developer.android.com/training/keyboard-input/index.html
- Text Formatting http://www.chrisumbel.com/article/android_textview_rich_text_spannablestring
- Font Style http://code.tutsplus.com/tutorials/quick-tip-customize-android-fonts--mobile-1601
Some useful links: http://developer.android.com/reference/android/widget/EditText.htmlhttp://developer.android.com/reference/android/widget/TextView.html
I also advice you this Notepad Tutorial which will guide you step by step to construct a simple notes list that lets the user add new notes. http://developer.android.com/training/notepad/index.html
Solution 2:
Check out this one https://github.com/chinalwb/Android-Rich-text-Editor, it is still in progress but you may get some pointers from there. Thanks.
Supported styles:
- Bold
- Italic
- Underline
- Strikethrough
- Numeric list
- Bullet list
- Align left
- Align center
- Align right
- Insert image
- Background color
- Hyper link
- @
- Quote
- Foreground color
- Emoji icon
- Superscript
- Subscript
- Font size
- Video
- Image from internet
- Dividing line
- All styles support save as HTML file
- Set init html content and continue editing or displaying
Demo for part of the supported features
Solution 3:
Found some quick solutions :
Also check following discussions:
Post a Comment for "Simple Richtext Editor In Android"