View must have a tag error in android data binding

前端 未结 7 2310
清酒与你
清酒与你 2021-02-13 05:54

I\'ve two layouts for a screen. Activity works fine while setting a layout for Mobile device but it\'s causing error while setting layout for tablet device. The main issue is:

7条回答
  •  感情败类
    2021-02-13 06:20

    You must have tag into your all XML views (portrait, landscape, tablet, etc.). Even you have to include tag into included views ("@layout/app_toolbar_layout").

提交回复
热议问题