模拟机器人2堆栈视图(API 5)? [英] Simulate stack view in Android 2 (API 5)?

查看:172
本文介绍了模拟机器人2堆栈视图(API 5)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序必须有一个小工具,可以显示卡和用户可翻转卡。 StackWidget 样本(在Android的资源),具有良好的小工具:

My App must have a widget that can show cards and user can turn over cards. StackWidget sample (in Android's resources) has a good widget:

但有一个 StackView 在小部件的布局,它是可用,因为 API级别11 ,我要实现我的应用程序的API级别5。

But there is a StackView in layout of widget and it is available since API Level 11 and I have to implement my App for API level 5.

另外,我看到这个小部件的工作原理API 7级及上,我想使用的OpenGL ES

Also I saw this widget that works API level 7 and upper, and I guess uses OpenGL ES:

最后,我们如何能够在Android的2模拟堆栈视图(API 5)?或者,我们如何才能实现像第二图像(上面)?

Finally how we can simulate stack view in Android 2 (API 5)? Or how we can implement a widget like second image (above)?

推荐答案

这是绝对不可能使用自定义的看法,因为安全的部件。您只能使用系统的人打上了@RemoteView注释。

It is absolutely impossible to use custom views in widgets because of security. You can only use system ones marked with a @RemoteView annotation.

用于搁在固件那些花哨的动画滚动的3D小部件OEM厂商只与自己的自定义发射器工作,因为他们都知道这些自定义视图,并让他们被夸大。或者,这些部件可以及是所述定制发射的一部分。

Those fancy animated scrollable 3D widgets OEMs used to put in their firmwares only work with their custom launchers because they are aware of those custom views and allow them to be inflated. Alternatively, these widgets can as well be a part of said custom launchers.

这篇关于模拟机器人2堆栈视图(API 5)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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