codelab-mlkit-android icon indicating copy to clipboard operation
codelab-mlkit-android copied to clipboard

</androidx.constraintlayout.widget.ConstraintLayout> error

Open WilliamBoni opened this issue 4 years ago • 0 comments

after i used this code i recieved an error, can someone fix this? i don't know what to fix. thanks...

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".pdfview">
    
    <com.github.barteksc.pdfviewer.PDFView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/pdfviewer"
        android:background="@color/white"

</androidx.constraintlayout.widget.ConstraintLayout>

the gradle i used :

implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

WilliamBoni avatar Apr 11 '21 11:04 WilliamBoni