Android富文本編輯器:android-animate-RichEditor

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.baiduhome.net/lib/view/home/1444983943857

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!