No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend

来源:互联网 发布:课堂笔记软件 编辑:程序博客网 时间:2024/06/04 18:56


错误提示:

error: Error: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend').



解决方法:

android:layout_toLeftOf="@id/tx_search_friend"

改为:

android:layout_toLeftOf="@+id/tx_search_friend"

0 0