[求助] 新建的项目 相对布局失效

Ctrl+F4 Ctrl+F4 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<?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"
android:orientation="vertical" >

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/cid"
android:text="@string/hello" />

<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/cid"
/>


</RelativeLayout>


把源码copy到其他项目中 显示是正常
但以后新建的项目 相对布局都不起作用
...全文

相关推荐

评论
收藏 已收藏
分享
返回顶部
Ctrl+F4
Android 80,489 成员 91,371 内容