Unexpected namespace prefix “app” found for tag RelativeLayout - Android?

后端 未结 7 2283
走了就别回头了
走了就别回头了 2021-02-13 04:46

I need to use BottomSheetBehavior with ScrollView but it says to me :

Unexpected namespace prefix \"app\" found for tag RelativeLayout
         


        
7条回答
  •  伪装坚强ぢ
    2021-02-13 05:24

    xmlns:app="http://schemas.android.com/apk/res-auto"
    

    This is set multiple times. Both in CoordinatorLayout and RelativeLayout. Remove the one in RelativeLayout. Declaring once in the file will suffice.

提交回复
热议问题