Android 转场动画
16lz
2021-01-23
只贴了关键代码
imgx = (ImageView) findViewById(R.id. imgx);Intent intent = getIntent(); int img1 = intent.getIntExtra( "img", 0);Glide. with( this).load(img1).into( imgx);
//转场动画Bundle bundle = ActivityOptions.makeSceneTransitionAnimation(getActivity(), adapter.imagephoto, "zhanghuirong").toBundle();Intent intent = new Intent(getActivity(), XActivity.class);intent.putExtra("img",(Integer) list.get(position));startActivity(intent,bundle);
imgx = (ImageView) findViewById(R.id. imgx);Intent intent = getIntent(); int img1 = intent.getIntExtra( "img", 0);Glide. with( this).load(img1).into( imgx);
更多相关文章
- android 搜索时关键字变色
- Android 搜索到的关键字改变颜色
- Android转场动画和共享元素动画兼容5.0以下版本的实现
- android 蓝牙ble app开发(二) -- 关键概念,连接参数,连接请求
- 文章关键字 ‘nodpi’
- Android视频播放程序关键部分简要解析
- android实现关键字搜索功能