【发布时间】:2017-07-01 05:28:58
【问题描述】:
我已按照教程调用图像,但我收到此消息错误以使用我的 Eclipse 加载源。我不知道是什么问题。我该如何解决? 这是我的 xml 代码:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.6">
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:
android:id="@+id/userImg" />
</LinearLayout>
【问题讨论】:
标签: java android xml imageview