我想知道如何将我的活动设置为全屏。我知道如何在不使用holoeverywhere libs的情况下正常进行。但我无法使用holoeverywhere工作。
这就是我在创建方法中尝试执行此操作的内容
public class MainActivity extends org.holoeverywhere.app.Activity implements AdListener,
OnClickListener, org.holoeverywhere.widget.AdapterView.OnItemSelectedListener {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Full Screen
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(ThemeManager.FULLSCREEN, ThemeManager.NO_ACTION_BAR);
setContentView(R.layout.activity_main);
在我的清单上我有这个
<application
android:name="org.holoeverywhere.app.Application"
android:allowBackup="true"
android:label="@string/app_name"
android:theme="@style/Holo.Theme" >
我缺少什么,有什么我做错了什么或什么?,因为有了这些设置,我仍然无法让主要活动全屏。
在清单中,我在清单
中的应用程序括号内执行了此操作android:theme="@style/Holo.Theme.NoActionBar.Fullscreen"