├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── libraries │ ├── junit_junit_4_12_jar.xml │ ├── org_hamcrest_hamcrest_core_1_3_jar.xml │ ├── com_android_support_support_annotations_23_4_0_jar.xml │ ├── com_android_support_appcompat_v7_23_4_0.xml │ ├── com_android_support_support_vector_drawable_23_4_0.xml │ ├── com_android_support_animated_vector_drawable_23_4_0.xml │ └── com_android_support_support_v4_23_4_0.xml ├── compiler.xml └── gradle.xml ├── app ├── .gitignore ├── .DS_Store ├── src │ ├── .DS_Store │ └── main │ │ ├── .DS_Store │ │ ├── res │ │ ├── .DS_Store │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ └── styles.xml │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── values-w820dp │ │ │ └── dimens.xml │ │ └── layout │ │ │ ├── activity_main.xml │ │ │ ├── activity_show_html_code.xml │ │ │ ├── activity_main2.xml │ │ │ └── activity_index.xml │ │ ├── java │ │ └── thereisnospon │ │ │ └── mcode │ │ │ ├── ShowHtmlCodeActivity.java │ │ │ ├── ShowCodeActivity.java │ │ │ ├── MainActivity.java │ │ │ ├── IndexActivity.java │ │ │ └── Constant.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro ├── build.gradle └── app.iml ├── codeview ├── .gitignore ├── .DS_Store ├── src │ ├── .DS_Store │ └── main │ │ ├── .DS_Store │ │ ├── res │ │ └── values │ │ │ └── strings.xml │ │ ├── assets │ │ ├── .DS_Store │ │ └── highlight │ │ │ ├── .DS_Store │ │ │ ├── styles │ │ │ ├── .DS_Store │ │ │ ├── pojoaque.jpg │ │ │ ├── school-book.png │ │ │ ├── brown-papersq.png │ │ │ ├── ascetic.css │ │ │ ├── mono-blue.css │ │ │ ├── dark.css │ │ │ ├── androidstudio.css │ │ │ ├── codepen-embed.css │ │ │ ├── brown-paper.css │ │ │ ├── vs.css │ │ │ ├── far.css │ │ │ ├── arta.css │ │ │ ├── ir-black.css │ │ │ ├── color-brewer.css │ │ │ ├── magula.css │ │ │ ├── darkula.css │ │ │ ├── github-gist.css │ │ │ ├── monokai.css │ │ │ ├── tomorrow.css │ │ │ ├── zenburn.css │ │ │ ├── school-book.css │ │ │ ├── paraiso-dark.css │ │ │ ├── paraiso-light.css │ │ │ ├── dracula.css │ │ │ ├── qtcreator_dark.css │ │ │ ├── qtcreator_light.css │ │ │ ├── rainbow.css │ │ │ ├── kimbie.dark.css │ │ │ ├── kimbie.light.css │ │ │ ├── atelier-dune-dark.css │ │ │ ├── monokai-sublime.css │ │ │ ├── atelier-dune-light.css │ │ │ ├── atelier-heath-dark.css │ │ │ ├── atelier-heath-light.css │ │ │ ├── atelier-forest-dark.css │ │ │ ├── atelier-forest-light.css │ │ │ ├── tomorrow-night-bright.css │ │ │ ├── tomorrow-night-eighties.css │ │ │ ├── atelier-seaside-dark.css │ │ │ ├── atelier-seaside-light.css │ │ │ ├── hopscotch.css │ │ │ ├── atelier-lakeside-dark.css │ │ │ ├── atelier-lakeside-light.css │ │ │ ├── arduino-light.css │ │ │ ├── googlecode.css │ │ │ ├── xt256.css │ │ │ ├── atelier-sulphurpool-dark.css │ │ │ ├── atelier-sulphurpool-light.css │ │ │ ├── obsidian.css │ │ │ ├── foundation.css │ │ │ ├── tomorrow-night.css │ │ │ ├── xcode.css │ │ │ ├── tomorrow-night-blue.css │ │ │ ├── pojoaque.css │ │ │ ├── solarized-dark.css │ │ │ ├── solarized-light.css │ │ │ ├── docco.css │ │ │ ├── idea.css │ │ │ ├── atelier-cave-dark.css │ │ │ ├── atelier-cave-light.css │ │ │ ├── atelier-estuary-dark.css │ │ │ ├── atelier-plateau-dark.css │ │ │ ├── atelier-savanna-dark.css │ │ │ ├── github.css │ │ │ ├── atelier-estuary-light.css │ │ │ ├── atelier-plateau-light.css │ │ │ ├── atelier-savanna-light.css │ │ │ ├── default.css │ │ │ ├── sunburst.css │ │ │ ├── railscasts.css │ │ │ ├── agate.css │ │ │ ├── hybrid.css │ │ │ ├── gruvbox-dark.css │ │ │ ├── gruvbox-light.css │ │ │ ├── grayscale.css │ │ │ └── purebasic.css │ │ │ ├── LICENSE │ │ │ ├── README.ru.md │ │ │ └── README.md │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── thereisnospon │ │ └── codeview │ │ ├── Code.java │ │ ├── CodeView.java │ │ └── CodeViewTheme.java ├── proguard-rules.pro ├── build.gradle └── codeview.iml ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── CodeView.iml ├── mCode.iml ├── gradlew.bat ├── .gitignore ├── gradlew ├── uplib.gradle ├── README.md └── READ_ENGLISH.md /.idea/.name: -------------------------------------------------------------------------------- 1 | CodeView -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /codeview/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':codeview' 2 | -------------------------------------------------------------------------------- /app/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/.DS_Store -------------------------------------------------------------------------------- /app/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/.DS_Store -------------------------------------------------------------------------------- /codeview/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/.DS_Store -------------------------------------------------------------------------------- /app/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/.DS_Store -------------------------------------------------------------------------------- /codeview/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/.DS_Store -------------------------------------------------------------------------------- /app/src/main/res/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/.DS_Store -------------------------------------------------------------------------------- /codeview/src/main/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/.DS_Store -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | mCode 3 | 4 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /codeview/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | CodeView 3 | 4 | -------------------------------------------------------------------------------- /codeview/src/main/assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/.DS_Store -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /codeview/src/main/assets/highlight/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/highlight/.DS_Store -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /codeview/src/main/assets/highlight/styles/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/highlight/styles/.DS_Store -------------------------------------------------------------------------------- /codeview/src/main/assets/highlight/styles/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/highlight/styles/pojoaque.jpg -------------------------------------------------------------------------------- /codeview/src/main/assets/highlight/styles/school-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/highlight/styles/school-book.png -------------------------------------------------------------------------------- /codeview/src/main/assets/highlight/styles/brown-papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Thereisnospon/CodeView/HEAD/codeview/src/main/assets/highlight/styles/brown-papersq.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 29 20:40:34 CST 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /codeview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_show_html_code.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/libraries/junit_junit_4_12_jar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/yzr/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /codeview/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/yzr/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 28 5 | buildToolsVersion '28.0.3' 6 | 7 | defaultConfig { 8 | applicationId "thereisnospon.mcode" 9 | minSdkVersion 19 10 | targetSdkVersion 26 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation fileTree(dir: 'libs', include: ['*.jar']) 24 | testImplementation 'junit:junit:4.12' 25 | implementation 'com.android.support:appcompat-v7:26.0.0' 26 | implementation project(":codeview") 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main2.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |