Lollipop android锁屏小部件 [英] Lollipop android lock screen widget

查看:20
本文介绍了Lollipop android锁屏小部件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

棒棒糖中的锁屏小部件是否有任何更改.虽然官方文件明确显示没有变化,但是 http://www.extremetech.com/computing/192112-android-5-0-lollipop-all-details-and-features-of-googles-sweetest-treat-yet 说锁屏幕小部件不见了.

Are there any changes made to lock screen widgets in lollipop. Though official documents explicitly shows no changes but ,http://www.extremetech.com/computing/192112-android-5-0-lollipop-all-details-and-features-of-googles-sweetest-treat-yet says lock screen widgets are gone.

推荐答案

在 Android 5.0 的任何一个 Android Developer Preview 版本中都不存在锁定屏幕小部件,因此它们实际上已经消失了.但是,WIDGET_CATEGORY_KEYGUARD 尚未被弃用.这是否是一个疏忽是任何人的猜测.到目前为止,Android 5.0 版本中似乎没有任何手势、区域或任何其他内容(例如设置"应用中的任何内容)表明支持锁屏小部件.

Lock screen widgets do not exist in either of the Android Developer Preview builds of Android 5.0 so they are effectively gone. However, WIDGET_CATEGORY_KEYGUARD has not yet been deprecated. Whether this is an oversight or not is anyone's guess. There does not appear to be any gesture, area, or anything else (such as anything in the Settings app) in the Android 5.0 builds so far that would indicate support for lock screen widgets.

似乎锁屏小部件的主要情况建议由通知处理,类似于 音乐控件已更改 - 旧的基于 RemoteControlClient 的控件曾与锁定屏幕小部件占据相同位置,但已完全弃用.

It appears the main case for lock screen widgets is suggested to be handled by notifications, similar to how music controls have changed - the old RemoteControlClient based controls used to take up the same place as lock screen widgets but have been completely deprecated.

这篇关于Lollipop android锁屏小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆