本文介绍了ActionBarSherlock和放大器; HoloEverywhere - 强制溢出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我有一个简单的问题。对于我的Andr​​oid应用程序,我打算使用ActionBarSherlock和HoloEverywhere库。一切运作良好,除了一件事:强制溢出菜单上的旧设备。如果没有HoloEverywhere项目,强制溢可以完美兼容以下行:

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中给了我一个错误,说没有发现资源匹配给定名称。它的工作原理没有很好的.ForceOverflow。这只是不支持的HoloEverywhere还是有办法手工做我自己?

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?

推荐答案

延长 HoloEverywhere 主题,并添加:

<item name="absForceOverflow">true</item>

这篇关于ActionBarSherlock和放大器; HoloEverywhere - 强制溢出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-09 00:16