当前位置: 代码迷 >> 综合 >> No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/tx_search_friend
  详细解决方案

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

热度:50   发布时间:2023-12-17 21:58:29.0


错误提示:

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"

  相关解决方案