diff --git a/doc/实践考评-阅读维护小米便签的团队自评报告.xlsx b/doc/实践考评-阅读维护小米便签的团队自评报告.xlsx new file mode 100644 index 0000000..34add3d Binary files /dev/null and b/doc/实践考评-阅读维护小米便签的团队自评报告.xlsx differ diff --git a/doc/小米便签泛读、标注和维护报告文档.docx b/doc/小米便签泛读、标注和维护报告文档.docx index 184a7c2..f5422ba 100644 Binary files a/doc/小米便签泛读、标注和维护报告文档.docx and b/doc/小米便签泛读、标注和维护报告文档.docx differ diff --git a/doc/阅读维护小米便签汇报.pptx b/doc/阅读维护小米便签汇报.pptx new file mode 100644 index 0000000..47304bc Binary files /dev/null and b/doc/阅读维护小米便签汇报.pptx differ diff --git a/src/main/java/net/micode/notes/ui/NoteEditActivity.java b/src/main/java/net/micode/notes/ui/NoteEditActivity.java index daf42e4..4a0f840 100644 --- a/src/main/java/net/micode/notes/ui/NoteEditActivity.java +++ b/src/main/java/net/micode/notes/ui/NoteEditActivity.java @@ -373,6 +373,13 @@ public class NoteEditActivity extends Activity implements OnClickListener, mNoteEditor.insertLink("https://github.com/wasabeef", "wasabeef"); } });*/ + /**findViewById(R.id.action_insert_image).setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + mNoteEditor.insertImage("https://raw.githubusercontent.com/wasabeef/art/master/chip.jpg", + "dachshund", 320); + } + });*/ findViewById(R.id.action_insert_checkbox).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { @@ -392,10 +399,8 @@ public class NoteEditActivity extends Activity implements OnClickListener, */ private String textChange(String oriText) { StringBuilder stringBuilder = new StringBuilder(oriText); - // 移除所有<> removeAngleBrackets(stringBuilder); - // 移除换行符和空格 for (int i = 0; i < stringBuilder.length(); i++) { char c = stringBuilder.charAt(i); diff --git a/src/main/res/drawable-hdpi/image.png b/src/main/res/drawable-hdpi/image.png new file mode 100644 index 0000000..752fdf1 Binary files /dev/null and b/src/main/res/drawable-hdpi/image.png differ diff --git a/src/main/res/layout/note_edit.xml b/src/main/res/layout/note_edit.xml index 74fe6cd..b8ecd5a 100644 --- a/src/main/res/layout/note_edit.xml +++ b/src/main/res/layout/note_edit.xml @@ -592,44 +592,44 @@ android:src="@drawable/blockquote" /> + android:id="@+id/action_insert_image" + android:layout_width="48dp" + android:layout_height="48dp" + android:background="@null" + android:contentDescription="@null" + android:src="@drawable/insert_image" /--> + + + + + \ No newline at end of file