1

I have an Android app where I've set the min SDK version to be 9 (Gingerbread). I have a preference activity where I would like to show an actionbar which works just fine on ICS+ devices but does not show up on devices running GB.

Upon further investigation, I found that ABS is not supported when used with PreferenceActivity.

Is there any workaround for this? I simply need to show an actionbar (with some options items) on devices running Gingerbread.

4

1 に答える 1

3

SherlockPreferenceActivity を使用します。

于 2012-11-01T14:19:07.657 に答える