1

I am using support library to show action bar by extending my MainActivity by ActionBarActivity. It is working correctly but now I have created a SettingActivity which extends PreferenceActivity , as multiple inheritance is not supported in Java so how can I use ActionBar in SettingsActivity?

Khayam Gondal
  • 2,366
  • 2
  • 28
  • 40

1 Answers1

1

Searched the net for it. I don't think there is a thing for both the preference activity AND action bar activity. I found this though, if you really want to add an action bar to your preference activity ActionBar in PreferenceActivity

Community
  • 1
  • 1
EdmDroid
  • 1,350
  • 1
  • 11
  • 25