Android 如何在intellij理念中使用holoeverywhere?我可以在2.3下的已完成项目中使用holoeverywhere吗?
我在项目中像jar一样到处导入Holo。但当我尝试使用主题时,一切都没有改变。我该怎么做才能让它工作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
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.**活动扩展活动