I'm facing a problem in which I set content view of my created activity.xml but it's showing some error. Please help me, I'm still learning.
this is the image while creating the activity
this the image which shows the error
and this the xml file activity_daily_expense_fragment_handler.xml
<?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=".daily_expense_fragment_handler">
</androidx.constraintlayout.widget.ConstraintLayout>
Pls check your imported R ? If you've imported with android.R then import with your package name.