Monday, 7 July 2014

Is it possible to call a method from the menu button from xml?



Im trying to call a method using the menu button at the top right. I know there is a method to call the method from the class.java file. However due to the method being in a different class, and that one class A extends from activity, and Class B extends from linear layout. i cant use class B clsB = new ClassB();


http://ift.tt/1r2w2bz


Is there a method to call the menu button on the top right from xml layout file?


Thanks in advance


No comments:

Post a Comment