My app has a method that uses
setContentView(R.layout.activity_deashibarai);
to set the view of the activity.
But i would like that the xml file name (in this case, activity_deashibarai) to be passed as a variable. I have a string variable to store that variable.
setContentView(R.layout.variable)
does not work.