feat: new editor: jsdroid editor

This commit is contained in:
hyb1996
2018-02-21 21:32:07 +08:00
parent 4b4c823db5
commit ea5f80b437
186 changed files with 6283 additions and 31683 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#ffffff"/>
<size android:width="1dp"/>
</shape>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<com.stardust.scriptdroid.ui.edit.editor.CodeEditText
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/code_edit_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@android:color/transparent"
android:textCursorDrawable="@drawable/code_edit_text_cursor"
android:textSize="15sp"/>

View File

@@ -119,7 +119,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
<com.stardust.scriptdroid.ui.edit.CodeMirrorEditor
<com.stardust.scriptdroid.ui.edit.editor.CodeEditor
android:id="@+id/editor"
android:layout_width="match_parent"
android:layout_height="0dp"