java - How do I add an xml file that I created in the setcontentview() function -
i have created xml file in android project called calc.xml im not able give xml file in setcontentview() function must done?
normally way:
@override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.calc); } post code please, if problem still there.
Comments
Post a Comment