石头毛毛 2016-05-25 14:00 采纳率: 25%
浏览 6362

android imageview为什么不能显示这张图片?

图片说明
布局文件
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity" >

<ImageView
    android:id="@+id/iv"
    android:layout_width="match_parent"
    android:layout_height="match_parent" 
    android:background="@drawable/aa"/>

谁能个我解释下原因~~~

  • 写回答

8条回答

  • 恋恋西风 2016-05-26 01:14
    关注

    图片太大了?
    改一下宽高试试
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"

    评论

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制