Android Material Design with Toolbar


The new Toolbar feature has taken over from the ActionBar and requires that the Activity extends the “ActionBarActivity” class. If this is the case seeing that Java does not implement multiple inheritance with multiple classes can I get an implementation of the “SingleFragmentActivity” class as an Interface which would have the same effect it has now.


It seems that you can let your SingleFragmentActivity extend ActionBarActivity, as it in turn extends FragmentActivity: … ivity.html