UI Not Loading From XML File
By - Do_you_like_MEMES
This looks correct off my head. Is there any errors? Is this activity declared in your Manifest?
You haven't created a variable of that components in
Make sure `R.layout.activity_main` is the right layout that is associated with the activity which first runs.
Also check if there's data binding in the layout XML because you might need to inflate it using data binding stuff instead of using setContentView.
It can help if you post the whole layout XML file.