Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/207.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何在intellij理念中使用holoeverywhere?我可以在2.3下的已完成项目中使用holoeverywhere吗?_Android_Intellij Idea_Android Holo Everywhere - Fatal编程技术网

Android 如何在intellij理念中使用holoeverywhere?我可以在2.3下的已完成项目中使用holoeverywhere吗?

Android 如何在intellij理念中使用holoeverywhere?我可以在2.3下的已完成项目中使用holoeverywhere吗?,android,intellij-idea,android-holo-everywhere,Android,Intellij Idea,Android Holo Everywhere,我在项目中像jar一样到处导入Holo。但当我尝试使用主题时,一切都没有改变。我该怎么做才能让它工作 package com.example.testholo; import android.app.Activity; import android.os.Bundle; public class MyActivity extends Activity { /** * Called when th

我在项目中像jar一样到处导入Holo。但当我尝试使用主题时,一切都没有改变。我该怎么做才能让它工作

package com.example.testholo;
        import android.app.Activity;
        import android.os.Bundle;


        public class MyActivity extends Activity {
            /**
             * Called when the activity is first created.
             */

            @Override
            public void onCreate(Bundle savedInstanceState) {
                setTheme(com.actionbarsherlock.R.style.Holo_Theme_Fullscreen);
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
            }

    }

我还有一个2.3版本的项目。如何在2.3下的已完成项目中使用holoeverywhere?

打开模块设置-库-+-来自Maven-键入org.holoeverywhere:library:1.5.0-确定。 指定一些目录,IDEA应自动从maven repo导入并连接HoloEverywhere。

还可以看到一个演示项目-您应该使用org.holoeverywhere.*类,而不是android...

从org.holoeverywhere.app.**活动扩展活动