Android富文本编辑器:android-animate-RichEditor

浏览: 36 发布日期: 2016-09-05 分类: android

Android富文本编辑器能够让用户插入/删除bitmaps和文本至编辑视图中,带动画。

目标目的

Recently, my product manager requires our team to implement this kind of interactive experience: a rich editor which enables users to insert/delete images and text at anywhere they want. However, almost everyone denies this demand at first, because our time remain is at tension and this kind of demand may cause unpredicted out-of-control.
However, overcoming challenging difficulties is thrilling, isn't it?

与其它编辑器相比

There exists other open-source rich editor projects in github, and i did run some of them.

  • One project uses WebView + HTML, the inserted images looks so strange there.
  • One project uses EditText + ImageSpan, maybe it's highly efficiency, but it's not that stable and robust.
  • and so on..

However, most of them are uncomfortable and inconvenient.
I implement this rich editor by using SrollView + LinearLayout. As you know, there may exist many views in this Editor, but you can never doubt that SrollView + LinearLayout could be quite smooth if you deal child-views reasonably.
Besides, LinearLayout could add some special animations when adding/deleting child-views.

captured images

demo apk download

apk download (right in this github project)

项目主页:http://www.open-open.com/lib/view/home/1444983943857

返回顶部