<ImageButton
android:layout_width="fill_parent"
android:layout_height="200dp"
android:id="@+id/imageButton"
android:scaleType="fitCenter"
android:clickable="true"
android:cropToPadding="true"
android:adjustViewBounds="true"
android:src="@drawable/wallhaven_263366"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginTop="65dp"
android:contentDescription="@string/imagebutton" />
这是我的代码..我试过,我发现这里几乎每一件事情......图像源未找到或ContentDescription缺少
我已经添加了图像中的src但它也不显示预览或avd。有时它给错误没有找到src,因为给定
或内容描述丢失..如果我提供了内容描述和res值,那么它说不能解决资源@字符串/。
欢迎任何形式的帮助。
我没有删除的数字,现在 错误可见:执行失败的任务“:应用程序:mergeDebugResources”。 > Crunching Cruncher wallhaven.png失败,请参阅日志 这是新的错误 –