Android-TextView换行排版混乱-允许设置SpannableString

上传者: xiaoweiguoyuan | 上传时间: 2021-08-20 09:41:56 | 文件大小: 143KB | 文件类型: 7Z
解决TextView自动换行的排版混乱 允许设置SpannableString等特殊属性 至繁归于至简

文件下载

资源详情

[{"title":"( 94 个子文件 143KB ) Android-TextView换行排版混乱-允许设置SpannableString","children":[{"title":"MyTextView2","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.96KB </span>","children":null,"spread":false},{"title":"gradle.properties <span style='color:#111;'> 872B </span>","children":null,"spread":false},{"title":"MyTextView2.iml <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":".gradle","children":[{"title":"2.4","children":[{"title":"taskArtifacts","children":[{"title":"fileHashes.bin <span style='color:#111;'> 21.83KB </span>","children":null,"spread":false},{"title":"cache.properties.lock <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"taskArtifacts.bin <span style='color:#111;'> 68.08KB </span>","children":null,"spread":false},{"title":"fileSnapshots.bin <span style='color:#111;'> 86.71KB </span>","children":null,"spread":false},{"title":"cache.properties <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"outputFileStates.bin <span style='color:#111;'> 19.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 662B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"ApplicationTest.java <span style='color:#111;'> 367B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 314B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":null,"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 10.55KB </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 216B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 828B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v21","children":[{"title":"styles.xml <span style='color:#111;'> 148B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"FGSpan.java <span style='color:#111;'> 176B </span>","children":null,"spread":false},{"title":"RLSpan.java <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"MyTextView.java <span style='color:#111;'> 6.51KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 711B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"app.iml <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"outputs","children":[{"title":"logs","children":[{"title":"manifest-merger-debug-report.txt <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false}],"spread":true},{"title":"apk","children":[{"title":"app-debug-unaligned.apk <span style='color:#111;'> 39.29KB </span>","children":null,"spread":false},{"title":"app-debug.apk <span style='color:#111;'> 39.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"intermediates","children":[{"title":"dex","children":[{"title":"debug","children":[{"title":"classes.dex <span style='color:#111;'> 15.95KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"res","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":[{"title":"menu","children":[{"title":"menu_main.xml <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"values.xml <span style='color:#111;'> 10.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 6.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 905B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v21","children":[{"title":"values-v21.xml <span style='color:#111;'> 240B </span>","children":null,"spread":false}],"spread":false},{"title":"values-w820dp","children":[{"title":"values-w820dp.xml <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"manifests","children":[{"title":"tmp","children":null,"spread":false},{"title":"androidTest","children":[{"title":"debug","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 663B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"full","children":[{"title":"debug","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 887B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"assets","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"resources","children":[{"title":"resources-debug.ap_ <span style='color:#111;'> 29.77KB </span>","children":null,"spread":false},{"title":"resources-debug-androidTest.ap_ <span style='color:#111;'> 775B </span>","children":null,"spread":false}],"spread":false},{"title":"symbols","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"dependency-cache","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"tmp","children":[{"title":"dex","children":[{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"classes","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"ApplicationTest.class <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"BuildConfig.class <span style='color:#111;'> 744B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"MainActivity.class <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 729B </span>","children":null,"spread":false},{"title":"MyTextView.class <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"R$mipmap.class <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"FGSpan.class <span style='color:#111;'> 345B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"RLSpan.class <span style='color:#111;'> 352B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 413B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"incremental","children":[{"title":"aidl","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"dependency.store <span style='color:#111;'> 5B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"dependency.store <span style='color:#111;'> 5B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"mergeResources","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"merger.xml <span style='color:#111;'> 329B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"merger.xml <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"mergeAssets","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"merger.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"merger.xml <span style='color:#111;'> 238B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"pre-dexed","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"rs","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"obj","children":null,"spread":false},{"title":"lib","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"obj","children":null,"spread":false},{"title":"lib","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"tmp","children":[{"title":"compileDebugAndroidTestJava","children":[{"title":"emptySourcePathRef","children":null,"spread":false}],"spread":false},{"title":"compileDebugJava","children":null,"spread":false}],"spread":true},{"title":"generated","children":[{"title":"res","children":[{"title":"rs","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"source","children":[{"title":"buildConfig","children":[{"title":"androidTest","children":[{"title":"debug","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"test","children":[{"title":"BuildConfig.java <span style='color:#111;'> 465B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"debug","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"BuildConfig.java <span style='color:#111;'> 455B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"aidl","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"r","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":[{"title":"com","children":[{"title":"lqw","children":[{"title":"user","children":[{"title":"mytextview2","children":[{"title":"R.java <span style='color:#111;'> 13.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"rs","children":[{"title":"androidTest","children":[{"title":"debug","children":null,"spread":false}],"spread":false},{"title":"debug","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 48.73KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"gradle.xml <span style='color:#111;'> 701B </span>","children":null,"spread":false},{"title":"runConfigurations.xml <span style='color:#111;'> 564B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 9.08KB </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 164B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 11B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 76B </span>","children":null,"spread":false}],"spread":false},{"title":"modules.xml <span style='color:#111;'> 359B </span>","children":null,"spread":false},{"title":"dictionaries","children":[{"title":"user.xml <span style='color:#111;'> 85B </span>","children":null,"spread":false}],"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 141.07KB </span>","children":null,"spread":false}],"spread":false},{"title":".gitignore <span style='color:#111;'> 98B </span>","children":null,"spread":false},{"title":"local.properties <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false},{"title":"build","children":[{"title":"intermediates","children":[{"title":"gradle_project_sync_data.bin <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"build.gradle <span style='color:#111;'> 455B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • qq_25660445 :
    多谢分享,可以慢慢研究了
    2019-08-30
  • xmh19936688 :
    不好使,根本没法显示
    2019-06-20
  • zhangshuai4510 :
    这个资源可以用
    2018-10-22
  • lo625090140 :
    没用 一个文字一个文字绘制 大小 颜色 那cliclkspan怎么用
    2018-06-28
  • zsm824793509 :
    还行,学习一下。
    2018-06-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明