使用Worklight进行Hybird开发,Html5和Native切换时增加动画效果
private void returnToWeb() {Intent intent = new Intent();intent.putExtra("index", index);setResult(RESULT_OK, intent);finish(); //增加滑动切换动画overridePendingTransition(android.R.anim.slide_in_left,android.R.anim.slide_out_right);}
?
?转载请注明:http://thierry-xing.iteye.com/blog/1832536