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.
使用SherlockPreferenceActivity。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.