简体   繁体   English

获取在较旧的Android手机上运行的动画

[英]Get animations running on older Android phone

Using the method described in 使用中所述的方法

Android Left to Right slide animation Android左右滑动动画

I'm able to perform slide in, slide out transition animations in my app. 我可以在我的应用中执行滑入,滑出过渡动画。

On my own phone, a Google LG Nexus 4 running Jelly Bean, it works fine, replacing the default zoom in transition. 在我自己的手机上,运行Jelly Bean的Google LG Nexus 4可以正常工作,代替了默认的过渡缩放。

However, when I try it on a Huawei G300 running vodafone-branded Gingerbread, I noticed there are no transitions at all, and my custom one doesn't occur either. 但是,当我在运行沃达丰品牌姜饼的华为G300上试用时,我发现根本没有转换,而且我的自定义设置也没有发生。

Is this an unfixable problem related to the OS, or is there a way I can force enable the animations? 这是与操作系统有关的无法解决的问题,还是我可以强制启用动画的方法?

Make sure that animations on the device itself are turned on. 确保设备本身的动画已打开。 The option can be found under Settings - Display Settings - Animations on gingerbread devices. 该选项可以在“设置”-“显示设置”-“姜饼设备上的动画”下找到。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM