我收到此警告,该程序仍然构建并正常运行。我只是想知道如何摆脱它。
<ImageView
android:id="@+id/myimage4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
**android:layout_column="0"
android:layout_row="0"**
android:src="@drawable/ic_launcher" />
答案 0 :(得分:3)
android:layout_column
和android:layout_row
仅在表格布局中有效,并且在LinearLayout中不存在。如果您使用的是LinearLayout,则不需要它们,并且可以安全地删除它。