Android Rich text Editor (中文说明见这里)
(In order to make it better match the search key word: android rich text editor, I renamed it from ARE to Android Rich text Editor)
If you are looking for a good rich text editor on Android, DON'T MISS THIS ONE!
It's still in progress now, but I believe it will be (one of the) best open source Android rich text editor.
For 0.0.3 features, I plan to publish colorpicker and emojipicker as standalone components so they can be reused in other projects easily.
This is implemented by Java
- Numeric list
- Bullet list
- Align left
- Align center
- Align right
- Insert image
- Background color
- Hyper link
- Quote - NEW in 0.0.3
- Foreground color - NEW in 0.0.3
- Emoji icon - NEW in 0.0.3
- All styles support save as HTML file
Released v0.0.3 Plan for v0.0.4, target on 2018-04-30:
- Font size
Demo for quote feature (NEW in 0.0.3):
Demo for font color feature (NEW in 0.0.3):
Demo for emoji feature (NEW in 0.0.3):
In progress items:
- Font size
- Font family
- Indent right
- Indent left
How to use? Before the general release, you need to checkout the code and add this to a layout file and include the layout file in your Activity. Just refer to the MainActivity.java in the source code.
<com.chinalwb.are.AREditor xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/areditor" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" />
You can download the APK here:
* Background color - cursor invisible when put it in the range of BackgroundColorSpan
If you find my work is helpful to you or you are start using my code, you don't need to buy me a coffee, just could you please send me a "✨"? Your * encourages me to make more features open source, thanks for your support. You can contact me at firstname.lastname@example.org if you need any customization or any suggestion.