Lollipop android lock screen widget(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锁屏小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Lollipop android锁屏小部件


基础教程推荐
- 使用 Ryzen 处理器同时运行 WSL2 和 Android Studio 2022-01-01
- 如何使用 YouTube API V3? 2022-01-01
- LocationClient 与 LocationManager 2022-01-01
- 固定小数的Android Money Input 2022-01-01
- “让"到底是怎么回事?关键字在 Swift 中的作用? 2022-01-01
- 如何使 UINavigationBar 背景透明? 2022-01-01
- 在 iOS 上默认是 char 签名还是 unsigned? 2022-01-01
- :hover 状态不会在 iOS 上结束 2022-01-01
- Android文本颜色不会改变颜色 2022-01-01
- Android ViewPager:在 ViewPager 中更新屏幕外但缓存的片段 2022-01-01