I\'m new to Android developing and I would like to make an app that sends and receive text using bluetooth. I got everything regarding the sending text logically working, bu
One step at a time.
setContentView(R.layout.activity_main);
will set the content of the view and i am assuming its defined in your Fragment_main should be fragment_main as its a XML file. So if you change it to
setContentView(R.layout. fragment_main);
you should be able to see the user Interface.