手机数码

    今日:0| 主题:38674
收藏本版 (4)
手机、平板、VR等3C数码产品的交流.

[其他] Android developer advocate Nick Butcher creates a Quick Settings tile to change

[复制链接]
半世迷离 发表于 2016-10-5 03:15:47
136 3

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

Android developer advocate Nick Butcher creates a Quick Settings tile to change -1 (butcher,butcher,s,the,bug,butcher,butcher怎么读,the,butcher)

   The Android community is pretty damn cool, if you ask me - custom ROMs,Xposed, Superuser applications , and a lot more. Android developer advocate Nick Butcher has added to this with a Quick Settings tile to control Android's animator duration scale. Normally this is only accessible through the Developer Options part of Android's [System] Settings, so for developers out there who need to regularly change the animation speed to test out any swanky animations, this should be pretty useful.
   There are two tiles available for use - a toggle and a selector. The toggle switches between the 0.5x and 1.0x scales, while the selector brings up the same popup that Developer Options has. After the APK has been installed, the tile needs to be enabled. This is not as simple as simply pressing a button saying 'Enable' or some such. Because animation speed is controlled through a settinngs screen which is not activated by default, the permissions for the tile need to be manually granted in adb, using the code in the quote.
  adb shell pm grant uk.co.nickbutcher.animatordurationtile android.permission.WRITE_SECURE_SETTINGS
  Once this has been done, you should be able to add it to your Quick Settings panel. Note - if you don't know what you're doing with adb or know what 'Developer Options' is, it's probably best to leave this alone; it's mainly for developers to test out their animations at different speeds. For those inclined, the files can be found on the GitHub repo Nick has set up, the link to which is below.
  
       
  • Source:   
  • GitHub (Nick Butcher)  

友荐云推荐




上一篇:Google makes its 2016 flagship phones official: The Pixel and Pixel XL
下一篇:Intel ships RealSense-powered kits to build your own robots and drones
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

夜山 发表于 2016-10-6 20:33:28
不要和地球人一般见识.
回复 支持 反对

使用道具 举报

eplee 发表于 2016-10-6 21:15:24
学习下
回复 支持 反对

使用道具 举报

淡醇熏骨染云笺 发表于 2016-10-6 22:29:55
每每看到楼主的这番话,我就觉得,楼主不容易,楼主辛苦了!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表