【问题标题】:how to set background mobile from imageView [duplicate]如何从imageView设置背景移动[重复]
【发布时间】:2013-12-28 09:44:04
【问题描述】:

我有一个图像视图,我想从图像视图中的图像设置为背景移动

背景移动 = imageView 中的图像

怎么做?

【问题讨论】:

  • 后台移动?你的意思是你想设置壁纸?

标签: android image background imageview


【解决方案1】:

参考安卓文档:

 imageView = (ImageView) view.findViewById(R.id.urView);
 imageView.setBackgroundResource(R.drawable.background);

【讨论】:

    猜你喜欢
    • 2012-01-19
    • 1970-01-01
    • 1970-01-01
    • 2022-01-22
    • 2013-01-10
    • 2011-09-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多