界面滑动进入 谁能给我说说如何在点击按键后,[b]下一个界面不是闪屏进入,而是由左向右或者由右向左慢慢的滑动进入啊[/b]谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在res目录下新建文件夹anim 放入下面两个文件left in<?xml version="1.0" encoding="UTF-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" > <translate android:duration="800" android:fromXDelta="100.0%p" android:toXDelta="0.0" /></set>left out<?xml version="1.0" encoding="UTF-8"?><set xmlns:android="http://schemas.android.com/apk/res/android" > <translate android:duration="800" android:fromXDelta="0.0" android:toXDelta="-100.0%p" /></set>在你跳转activity时 加入:overridePendingTransition(R.anim.umeng_xp_leftin,R.anim.umeng_xp_leftout); 这种examples里面都有源码的问题,还真有人问? 谢谢了 [email protected] 能给我发过来吗 在你跳转activity时 加入:overridePendingTransition(R.anim.umeng_xp_leftin,R.anim.umeng_xp_leftout);这个能在给详细点吗 3楼 我是菜鸟-------android 调试问题 getLastKnownLocation got exception 能不能再模拟器的设置里面存储管理里打开模拟器的SD卡? int转16进制 BufferedReader的readLine导致程序崩溃,画面黑屏 关于looper的使用 如何实现这样的动画效果 如何侦测自己的APP被退到背景去? 求助 调用移动MM order()接口后游戏崩溃 ERROR如下 popwindow点击view之外的区域使pop消失 新手请教简单的android问题,请指教 谢谢哈 android快2年了,这个问题大家给个答案吧。。。
left in<?xml version="1.0" encoding="UTF-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" > <translate
android:duration="800"
android:fromXDelta="100.0%p"
android:toXDelta="0.0" /></set>
left out<?xml version="1.0" encoding="UTF-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" > <translate
android:duration="800"
android:fromXDelta="0.0"
android:toXDelta="-100.0%p" /></set>在你跳转activity时 加入:
overridePendingTransition(R.anim.umeng_xp_leftin,R.anim.umeng_xp_leftout);
overridePendingTransition(R.anim.umeng_xp_leftin,R.anim.umeng_xp_leftout);
这个能在给详细点吗 3楼