将html解析成 textspan,使用textview展示
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 年之前
123456789101112131415161718192021222324
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 25
  4. buildToolsVersion '27.0.3'
  5. defaultConfig {
  6. applicationId "me.yluo.htmlview"
  7. minSdkVersion 21
  8. targetSdkVersion 25
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: 'libs', include: ['*.jar'])
  22. }