
kotlin
wellchang
新浪微博http://weibo.com/210003638
展开
-
Kotlin: Cannot inline bytecode built with JVM target 1.8
Error:(33, 24) Kotlin: Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option把下图这里改成1.8就行了感谢https://www.icode9.com/content-4-594783.html...原创 2020-07-01 09:27:00 · 1282 阅读 · 0 评论 -
TextView两端对齐
方式一: 在ConstranLayout中实现主要实现代码 val text = getString(R.string.text) val textLen = text.length val set = ConstraintSet() set.clone(constrainLayout) for (i in 0 until te...原创 2019-10-17 14:15:59 · 1978 阅读 · 0 评论