问题
I have a simple question. For my android app, I'm planning on using the ActionBarSherlock and HoloEverywhere libraries. Everything works well besides one thing: Forcing the overflow menu onto older devices. Without the HoloEverywhere project, the forced overflow works perfect with the following line:
android:theme="@style/Theme.Sherlock.ForceOverflow"
My problem is, I can't get the Forced Overflow to work when I apply
android:theme="@style/Theme.HoloEverywhereDark.Sherlock.ForceOverflow"
Eclipse gives me an error saying that there's no resource found that matches the given name. It works nice without the .ForceOverflow. Is this just not supported by HoloEverywhere or is there a way to manually do it myself?
回答1:
Extend a HoloEverywhere
theme and add:
<item name="absForceOverflow">true</item>
来源:https://stackoverflow.com/questions/10509510/actionbarsherlock-holoeverywhere-forcing-overflow