Android O新特性
今天凌晨,google 2017 i/o在加利福尼亚山景城开幕,google一如既往的领先于世界上所有的科技公司~~~~(I/O: 开放中创新)
- Picture in Picture
<activity>
android:name=".pipActivity"
android:supportsPictureInPicture="true"
</activity>
getActivity.enterPictureInPictureMode();
AnimatorSet
优化动画操作AutoFill
如在web端登陆的快速输入功能已经能在Android上实现了,广大各种密码使用者的福音- Font XML
res文件下新建了font文件夹,资源文件中可以直接放入字体文件了~并且可以从google play service website获取到google的font资源 auto-resizing textview
findViewById
开发中们再也不用进行类型转换了,findviewbyid已经被google优化,再也不用”=”左右边都说自己是一个TextView了notifications
这是本次新版本的最大更新内容之一,具体向了解的可以去google官网Kotlin
Kotlin正式成为Android的开发语言,而且从Android Studio 3.0开始,Android Studio正式支持Kotlin,google又给开发者们一个竞争的高低了