Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ActionBarSherlock & HoloEverywhere - Forcing Overflow?

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?

like image 733
Pkmmte Avatar asked May 09 '12 03:05

Pkmmte


1 Answers

Extend a HoloEverywhere theme and add:

<item name="absForceOverflow">true</item>
like image 126
Jake Wharton Avatar answered Sep 23 '22 18:09

Jake Wharton