安卓
Skeletonz
这个作者很懒,什么都没留下…
展开
-
Android Studio编译失败:Error: Invoke-customs are only supported starting with Android O (--min-api 26)
Android Studio编译报错:Error: Invoke-customs are only supported starting with Android O (--min-api 26)解决方案:build.gradle文件中android节点下增加:compileOptions { sourceCompatibility JavaVers...转载 2019-06-20 14:00:57 · 760 阅读 · 0 评论 -
Android TextView实现上下滚动
TextView 中当文字的内容超过限定的行数时会出现无法显示全被内容的情况,通过以下方式可实现TextView的上下滑动功能:1.通过修改布局文件中TextView的属性:<TextView ... android:scrollbars="vertical" ... />2.以及在代码文件中设置如下属性:textView.setMovementMe...转载 2019-07-03 15:05:15 · 8398 阅读 · 0 评论