├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ └── styles.xml │ │ ├── drawable │ │ │ └── player_view_bg2.png │ │ ├── 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 │ │ │ ├── item_subtitle.xml │ │ │ └── layout.xml │ │ ├── assets │ │ └── standards │ │ │ ├── STL │ │ │ ├── EBU.stl │ │ │ ├── BBCTEST.stl │ │ │ ├── Debate0_03-03-08.stl │ │ │ ├── debate1_03-03-08.stl │ │ │ ├── debate2_03-03-08.stl │ │ │ ├── Alsalirdeclasebien.stl │ │ │ ├── Aquí no hay quien viva 1.STL │ │ │ ├── Historias de Filadelfia.STL │ │ │ └── Don Quijote de la Mancha 1.STL │ │ │ ├── SRT │ │ │ └── Avengers.2012.Eng.Subs.srt │ │ │ ├── SCC │ │ │ ├── test2.scc │ │ │ ├── sccTest.scc │ │ │ └── test3.scc │ │ │ ├── ASS │ │ │ ├── test.ass │ │ │ └── test.ssa │ │ │ ├── XML │ │ │ ├── prueba_angel.xml │ │ │ ├── Debate0_03-03-08.dfxp.xml │ │ │ └── prueba_angel2.xml │ │ │ └── Closed Captions and the Scenarist Closed Caption Format.htm │ │ ├── java │ │ └── org │ │ │ └── dync │ │ │ └── subtitles │ │ │ ├── MyApplication.java │ │ │ ├── SubtitleAdapter.java │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── subtitleconverter ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ └── layout │ │ │ │ └── subtitleview.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── org │ │ │ └── dync │ │ │ └── subtitleconverter │ │ │ ├── subtitleFile │ │ │ ├── Region.java │ │ │ ├── FatalParsingException.java │ │ │ ├── Caption.java │ │ │ ├── TimedTextFileFormat.java │ │ │ ├── Style.java │ │ │ ├── TimedTextObject.java │ │ │ ├── Time.java │ │ │ ├── FormatSRT.java │ │ │ ├── FormatTTML.java │ │ │ ├── FormatASS.java │ │ │ └── FormatSTL.java │ │ │ ├── SubtitleClickListener.java │ │ │ ├── ISubtitleControl.java │ │ │ ├── SubtitleTextView.java │ │ │ ├── IOClass.java │ │ │ └── SubtitleView.java │ ├── test │ │ └── java │ │ │ └── org │ │ │ └── dync │ │ │ └── subtitleconverter │ │ │ ├── ExampleUnitTest.java │ │ │ ├── Convert.java │ │ │ └── Tests.java │ └── androidTest │ │ └── java │ │ └── org │ │ └── dync │ │ └── subtitleconverter │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── shotScreen └── GIF.gif ├── .gitignore ├── README.md ├── gradle.properties ├── gradlew.bat ├── bintray.gradle └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /subtitleconverter/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':subtitleconverter' 2 | -------------------------------------------------------------------------------- /shotScreen/GIF.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/shotScreen/GIF.gif -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Subtitles 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/EBU.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/EBU.stl -------------------------------------------------------------------------------- /subtitleconverter/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | subtitleConverter 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/BBCTEST.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/BBCTEST.stl -------------------------------------------------------------------------------- /app/src/main/res/drawable/player_view_bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/drawable/player_view_bg2.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/Debate0_03-03-08.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/Debate0_03-03-08.stl -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/debate1_03-03-08.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/debate1_03-03-08.stl -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/debate2_03-03-08.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/debate2_03-03-08.stl -------------------------------------------------------------------------------- /subtitleconverter/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/Alsalirdeclasebien.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/Alsalirdeclasebien.stl -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/SRT/Avengers.2012.Eng.Subs.srt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/SRT/Avengers.2012.Eng.Subs.srt -------------------------------------------------------------------------------- /subtitleconverter/src/main/java/org/dync/subtitleconverter/subtitleFile/Region.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter.subtitleFile; 2 | 3 | public class Region { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/Aquí no hay quien viva 1.STL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/Aquí no hay quien viva 1.STL -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/Historias de Filadelfia.STL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/Historias de Filadelfia.STL -------------------------------------------------------------------------------- /app/src/main/assets/standards/STL/Don Quijote de la Mancha 1.STL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DyncKathline/Subtitles/HEAD/app/src/main/assets/standards/STL/Don Quijote de la Mancha 1.STL -------------------------------------------------------------------------------- /app/src/main/assets/standards/SCC/test2.scc: -------------------------------------------------------------------------------- 1 | Scenarist_SCC V1.0 2 | 3 | 4 | 00:00:00:00 9420 9420 942c 942f 5 | 6 | 7 | 00:00:06:09 9420 915e 97a2 9137 9137 9137 9137 8 | 9 | 10 | 00:00:09:16 9420 942c 942f -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Subtitles 2 | 字幕解析显示demo 3 | [由subtitleConverter库改动而来](https://github.com/JDaren/subtitleConverter) 4 | [字幕库网站](https://www.zimuku.cn/) 5 | 6 | ## 效果图 7 | ![image](https://raw.githubusercontent.com/DyncKathline/Subtitles/master/shotScreen/GIF.gif) 8 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/SCC/sccTest.scc: -------------------------------------------------------------------------------- 1 | Scenarist_SCC V1.0 2 | 3 | 01:02:53:14 94ae 94ae 9420 9420 947a 947a 97a2 97a2 a820 68ef f26e 2068 ef6e 6be9 6e67 2029 942c 942c 8080 8080 942f 942f 4 | 5 | 01:02:55:14 942c 942c 6 | 7 | 01:03:27:29 94ae 94ae 9420 9420 94f2 94f2 c845 d92c 2054 c845 5245 ae80 942c 942c 8080 8080 942f 942f -------------------------------------------------------------------------------- /subtitleconverter/src/main/java/org/dync/subtitleconverter/SubtitleClickListener.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter; 2 | 3 | /** 4 | * 对字幕进行监听的接口 5 | */ 6 | public interface SubtitleClickListener { 7 | /** 8 | * 按下 9 | */ 10 | void ClickDown(); 11 | 12 | /** 13 | * 取消 14 | */ 15 | void ClickUp(); 16 | } 17 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /subtitleconverter/src/test/java/org/dync/subtitleconverter/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /subtitleconverter/src/main/java/org/dync/subtitleconverter/subtitleFile/FatalParsingException.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter.subtitleFile; 2 | 3 | /** 4 | * This class represents problems that may arise during the parsing of a subttile file. 5 | * 6 | * @author J. David 7 | * 8 | */ 9 | public class FatalParsingException extends Exception { 10 | 11 | private static final long serialVersionUID = 6798827566637277804L; 12 | 13 | private String parsingErrror; 14 | 15 | public FatalParsingException(String parsingError){ 16 | super(parsingError); 17 | this.parsingErrror = parsingError; 18 | } 19 | 20 | @Override 21 | public String getLocalizedMessage(){ 22 | return parsingErrror; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_subtitle.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 19 | 20 | -------------------------------------------------------------------------------- /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 C:\Users\i-jixiongxu\AppData\Local\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 | -------------------------------------------------------------------------------- /subtitleconverter/src/main/java/org/dync/subtitleconverter/subtitleFile/Caption.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter.subtitleFile; 2 | 3 | public class Caption { 4 | 5 | public Style style; 6 | public Region region; 7 | 8 | public Time start; 9 | public Time end; 10 | 11 | /** 12 | * Raw content, before cleaning up templates and markup. 13 | */ 14 | public String rawContent=""; 15 | /** 16 | * Cleaned-up subtitle content. 17 | */ 18 | public String content=""; 19 | 20 | @Override 21 | public String toString() { 22 | return "Caption{" + 23 | start.getMseconds() + ".." + end.getMseconds() + 24 | ", " + (style != null ? style.iD : null) + ", " + region + ": " + content + 25 | '}'; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /subtitleconverter/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /subtitleconverter/src/androidTest/java/org/dync/subtitleconverter/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("org.dync.subtitleconverter.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/org/dync/subtitles/MyApplication.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitles; 2 | 3 | import android.app.Application; 4 | 5 | import com.simple.spiderman.CrashModel; 6 | import com.simple.spiderman.SpiderMan; 7 | 8 | public class MyApplication extends Application { 9 | 10 | @Override 11 | public void onCreate() { 12 | super.onCreate(); 13 | //弹出崩溃信息展示界面 14 | SpiderMan.getInstance() 15 | .init(this) 16 | //设置是否捕获异常,不弹出崩溃框 17 | .setEnable(true) 18 | //设置是否显示崩溃信息展示页面 19 | .showCrashMessage(true) 20 | //是否回调异常信息,友盟等第三方崩溃信息收集平台会用到, 21 | .setOnCrashListener(new SpiderMan.OnCrashListener() { 22 | @Override 23 | public void onCrash(Thread t, Throwable ex, CrashModel model) { 24 | //CrashModel 崩溃信息记录,包含设备信息 25 | } 26 | }); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /subtitleconverter/src/main/java/org/dync/subtitleconverter/ISubtitleControl.java: -------------------------------------------------------------------------------- 1 | package org.dync.subtitleconverter; 2 | 3 | import android.widget.TextView; 4 | 5 | import org.dync.subtitleconverter.subtitleFile.TimedTextObject; 6 | 7 | /** 8 | * 字幕控制接口 9 | */ 10 | 11 | public interface ISubtitleControl 12 | { 13 | /** 14 | * 设置数据 15 | * 16 | * @param model 17 | */ 18 | void setData(TimedTextObject model); 19 | 20 | /** 21 | * 设置字幕 22 | * 23 | * @param view 24 | * @param item 25 | */ 26 | void setItemSubtitle(TextView view, String item); 27 | 28 | /** 29 | * 设置显示的语言 30 | * 31 | * @param type 32 | */ 33 | void setLanguage(int type); 34 | 35 | /** 36 | * 开始 37 | */ 38 | void setStart(); 39 | 40 | /** 41 | * 暂停 42 | */ 43 | void setPause(); 44 | 45 | /** 46 | * 定位设置字幕,单位毫秒 47 | * 48 | * @param position 49 | */ 50 | void seekTo(long position); 51 | 52 | /** 53 | * 停止 54 | */ 55 | void setStop(); 56 | 57 | /** 58 | * 后台播放 59 | * 60 | * @param pb 61 | */ 62 | void setPlayOnBackground(boolean pb); 63 | } 64 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/ASS/test.ass: -------------------------------------------------------------------------------- 1 | [Script Info] 2 | ; Script generated by Aegisub 3.2.2 3 | ; http://www.aegisub.org/ 4 | Title: Default Aegisub file 5 | ScriptType: v4.00+ 6 | WrapStyle: 0 7 | ScaledBorderAndShadow: yes 8 | YCbCr Matrix: TV.601 9 | PlayResX: 1024 10 | PlayResY: 576 11 | 12 | [Aegisub Project Garbage] 13 | Audio File: test5.mkv 14 | Video File: test5.mkv 15 | Video AR Mode: 4 16 | Video AR Value: 1.777778 17 | Video Position: 125 18 | 19 | [V4+ Styles] 20 | Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding 21 | Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1 22 | 23 | [Events] 24 | Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text 25 | Dialogue: 0,0:00:03.54,0:00:05.29,Default,,0,0,0,,{\frz359.9\pos(483,53)}...the colossus of Rhodes! 26 | Dialogue: 0,0:00:03.50,0:00:05.35,Default,,0,0,0,,{\frz359.9\pos(490,543)}...wake up! buddy! cabs are here, yeah! 27 | Dialogue: 0,0:00:05.75,0:00:06.67,Default,,0,0,0,,No! 28 | Dialogue: 0,0:00:06.71,0:00:12.54,Default,,0,0,0,,The colossus of Rhodes\Nand it is here just for you Proog. 29 | Dialogue: 0,0:00:41.62,0:00:43.54,Default,,0,0,0,,It is there... 30 | Dialogue: 0,0:00:43.58,0:00:46.66,Default,,0,0,0,,I'm telling you,\NEmo... -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion rootProject.ext.compileSdkVersion 5 | // buildToolsVersion rootProject.ext.buildToolsVersion 6 | defaultConfig { 7 | applicationId "demo.pplive.com.subtitles" 8 | minSdkVersion 16 9 | targetSdkVersion rootProject.ext.targetSdkVersion 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 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(include: ['*.jar'], dir: 'libs') 24 | androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | implementation 'com.android.support:appcompat-v7:' + rootProject.supportLibraryVersion 28 | implementation 'com.android.support:recyclerview-v7:' + rootProject.supportLibraryVersion 29 | testImplementation 'junit:junit:4.12' 30 | //butterknife 31 | implementation 'com.jakewharton:butterknife:8.8.1' 32 | annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' 33 | //展示崩溃信息 34 | implementation 'com.simple:spiderman:1.0.2' 35 | implementation project(':subtitleconverter') 36 | // implementation 'org.dync.kathline:subtitleconverter:1.0.0' 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/assets/standards/XML/prueba_angel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |