Android actionbar如何添加支持库v7 appcompat for Eclipse [英] Android actionbar how to add supporting library v7 appcompat for Eclipse
问题描述
我按照 Android - ActionBar 中的每个步骤添加操作栏。
我从ActionBarActivity扩展活动:
public class MainActivity extends ActionBarActivity
I followed every steps in Android - ActionBar to add action bar. I extend the activity from ActionBarActivity: public class MainActivity extends ActionBarActivity
我需要添加appcompat v7支持库,如这里:在添加资源库中,eclipse部分。最后一步:
I need to add appcompat v7 support library as in here: In "Adding libraries with resources", eclipse section. The last steps:
将库添加到您的应用程序项目中:
"Add the library to your application project:
- 在项目资源管理器中,右键单击项目并选择属性。
- 在库窗格中,单击添加。
- 选择库项目并单击例如,appcompat项目应列为android-support-v7-appcompat。
- 在属性窗口中,单击确定。
- In the Project Explorer, right-click your project and select Properties.
- In the Library pane, click Add.
- Select the library project and click OK. For example, the appcompat project should be listed as android-support-v7-appcompat.
- In the properties window, click OK. "
步骤2是找不到库窗格的地方。如何将库添加到我的项目?
Step 2 is where I can't find the Library pane. How can I add the library to my project?
推荐答案
一张图片值得一千字:
A picture is worth a thousand words:
这篇关于Android actionbar如何添加支持库v7 appcompat for Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!