• 大小: 76KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-11
  • 语言: Java
  • 标签: android  文本  编辑器  

资源简介

android 文本编辑器 源码,比较简单的,可以参考一下。

资源截图

代码片段和文件信息

package hu.scythe.droidwriter;

import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.Html;
import android.text.Selection;
import android.text.Spannable;
import android.text.Spanned;
import android.text.TextWatcher;
import android.text.style.Characterstyle;
import android.text.style.styleSpan;
import android.text.style.UnderlineSpan;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ToggleButton;

public class DroidWriterEditText extends EditText {

// Log tag
public static final String TAG = “DroidWriter“;

// style constants
private static final int style_BOLD = 0;
private static final int style_ITALIC = 1;
private stat

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    I.A....         3  2013-07-19 18:27  droid-writer\.svn\entries

    I.A....         3  2013-07-19 18:27  droid-writer\.svn\format

    I.A....       385  2013-07-19 18:27  droid-writer\.svn\pristine\0c\0c8be7c1ca0c42cad1f9abbeb02d5514d069013c.svn-base

    I.A....       361  2013-07-19 18:27  droid-writer\.svn\pristine\0f\0f493d487390dbba103fef9f4d9d63e800a6ef88.svn-base

    I.A....       356  2013-07-19 18:27  droid-writer\.svn\pristine\17\172acec4dece46639cfc2af8c68357765a2faae0.svn-base

    I.A....       363  2013-07-19 18:27  droid-writer\.svn\pristine\18\18909e6f5614f25ad1d02a0f151516b4ef3ce853.svn-base

    I.A....       417  2013-07-19 18:27  droid-writer\.svn\pristine\31\310f6f096bbb6fa6f3670a3632e0bee95b89739f.svn-base

    I.A....     15068  2013-07-19 18:27  droid-writer\.svn\pristine\31\31497c95d1be0d03b96080074fe34fb0618bb5ff.svn-base

    I.A....      1248  2013-07-19 18:27  droid-writer\.svn\pristine\37\37cadee3ab490d4ba9bf8686960c9556daae8d1f.svn-base

    I.A....       729  2013-07-19 18:27  droid-writer\.svn\pristine\42\422b509910d8d27596cd4ccb7175388f2aea4fa7.svn-base

    I.A....      2081  2013-07-19 18:27  droid-writer\.svn\pristine\4a\4af2ad7aab2a09fa87c3a4494f0952edbf3afbc5.svn-base

    I.A....      9696  2013-07-19 18:27  droid-writer\.svn\pristine\4f\4fd4f153196872fe6a5ba98a07b24e7debede883.svn-base

    I.A....      2574  2013-07-19 18:27  droid-writer\.svn\pristine\7c\7cbb0a80689da95c9758ccbb9b8632edc6630476.svn-base

    I.A....       436  2013-07-19 18:27  droid-writer\.svn\pristine\86\867de653fcb42490d8fe8b4dcce8139a99a4b2fc.svn-base

    I.A....      3043  2013-07-19 18:27  droid-writer\.svn\pristine\8d\8d385fb6b84085059206b9c30c6d26be923b09c9.svn-base

    I.A....       182  2013-07-19 18:27  droid-writer\.svn\pristine\8d\8dba9d642720046ec4f5073f97721b1de2604f94.svn-base

    I.A....      4147  2013-07-19 18:27  droid-writer\.svn\pristine\91\91c0eed42bb6ffbb3e720f4309d06edaa5ab81b1.svn-base

    I.A....       382  2013-07-19 18:27  droid-writer\.svn\pristine\99\992d57592320d91ce3c14c9f2f384c304d824ae4.svn-base

    I.A....        53  2013-07-19 18:27  droid-writer\.svn\pristine\9d\9da5972490b164e1b1bbaede6cbd9a8dac321e16.svn-base

    I.A....       818  2013-07-19 18:27  droid-writer\.svn\pristine\a1\a10e2fbce810b25e80160526f2fa5220ff644cec.svn-base

    I.A....       462  2013-07-19 18:27  droid-writer\.svn\pristine\b5\b57d3a086b2475db68f7374161e39250d0238218.svn-base

    I.A....       387  2013-07-19 18:27  droid-writer\.svn\pristine\be\be08bbe6624d9ec4841ed580d9ac85897dbc126b.svn-base

    I.A....       629  2013-07-19 18:27  droid-writer\.svn\pristine\bf\bf2b9123d25a1777952c7313a98b5e488842a89e.svn-base

    I.A....       814  2013-07-19 18:27  droid-writer\.svn\pristine\ca\ca7662b64410a76bb16211b90a2504256b7b1e30.svn-base

    I.A....      1723  2013-07-19 18:27  droid-writer\.svn\pristine\da\dab9122f41b8f635738ab44b288f12412bbdf3ce.svn-base

    I.A....     68608  2013-07-19 18:27  droid-writer\.svn\wc.db

    I.A....       356  2013-07-19 18:27  droid-writer\DroidWriter\.classpath

    I.A....       814  2013-07-19 18:27  droid-writer\DroidWriter\.project

    I.A....       385  2013-07-19 18:27  droid-writer\DroidWriter\AndroidManifest.xml

    I.A....      1248  2013-07-19 18:27  droid-writer\DroidWriter\proguard.cfg

............此处省略80个文件信息

评论

共有 条评论