如何添加询问服务库,ActionBarActivity和主题Android项目? [英] How to add suport library,ActionBarActivity and themes to android project?
问题描述
我添加了Android的支持-V7-appcompat。接下来,我点击的目录\库的每个文件。然后我点击Android的支持-V7-appcompat,打开属性。接下来,从目录库和unchecked Android的依赖检查文件。接下来打开的myproject的性能。又到了项目,并通过添加按钮添加Android的支持-V7-appcompat。
I added android-support-v7-appcompat. Next I clicked on each file in directory \libs. Then I clicked android-support-v7-appcompat and opened properties. Next checked files from directory libs and unchecked Android Dependencies. Next opened properties of myproject. Went to the projects and by Add button added android-support-v7-appcompat.
但没有什么工作。我怎样才能让ActionBarActivity(有没有新的变种),我如何才能增加一个主题。我曾经在明显增加活动,试着将它添加到style.xml请帮我。我做错了什么?
But nothing is working. How can I make ActionBarActivity(there is no new variants) and how can I add a theme. I used to add in manifest to activity, tried to add it to the style.xml Please help me. What I did wrong?
推荐答案
如果从现在开始一个新的项目,我会做同样的,你和使用操作栏COMPAT。这应有助于: ActionBarCompat - 如何使用它
If starting a new project now, I would do the same as you and use Action Bar Compat . This should help : ActionBarCompat - how to use it
这篇关于如何添加询问服务库,ActionBarActivity和主题Android项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!