<view
android:layout_marginTop="530dp"
android:layout_width="match_parent"
android:layout_height="2dp"/>
如果我在android studio中使用此代码。我有渲染问题 错误: 无法使用类属性
来扩展视图标记答案 0 :(得分:0)
我认为您已经提供了“查看”而不是“查看”
答案 1 :(得分:0)
请使用此
<View
android:layout_marginTop="530dp"
android:layout_width="match_parent"
android:layout_height="2dp"/>
希望这会对你有所帮助