Error with ConstraintLayout: No resource found that matches the given name

前端 未结 2 1233
闹比i
闹比i 2021-01-12 07:20

I learn how to use ConstraintLayout. And have problem.

My activity_test.xml




        
2条回答
  •  [愿得一人]
    2021-01-12 08:10

    Just replace (@id/btnScanQRCode and @id/tvReservedContInfo) with (@+id/btnScanQRCode and @+id/tvReservedContInfo).

    Try this:

    
    
    
        
    
            
    
            

提交回复
热议问题