寻找COM .....在Android的布局使用 [英] Finding the com..... to use in Android Layout
问题描述
我使用本教程尝试用自定义动作条替换默认标题栏。我的地方,我想创建自定义标题的XML布局(#2包括在ActionBar WIDGET在应用程序)的一部分,该教程使用定义的动作条中的XML
I am using this tutorial to try to replace the default TitleBar with a custom ActionBar. I am to the part where I am trying to create the xml layout for the custom title (#2 Under INCLUDING THE ACTIONBAR WIDGET IN YOUR APPLICATION), and the tutorial defines the ActionBar in the xml using
com.thira.examples.actionbar.widget.ActionBar
我不知道如何找出放在那里我的动作条。我相信,这就是所谓的包名。如果是这样,我怎么搞清楚什么矿。如果不是,那我找吗?
I have no idea how to figure out what to put there for my ActionBar. I believe this is called the package name. If so, how do I figure out what mine is. If not, what am I looking for here?
推荐答案
有搞清楚你的包的名字一对夫妇的选择。第一个(也是最容易的),是自己申报其在项目属性对话框:
There are a couple options for figuring out your package name. The first (and easiest) is to declare it yourself in the project properties dialog:
另外,如果您还没有定义它自己,你可以看看被作为构建的包装步骤的一部分生成的AndroidManifest.xml文件。你可以找到它的OBJ /调试/机器人项目的文件夹。
Alternatively, if you haven't defined it yourself you can take a look at the AndroidManifest.xml file that is generated as part of the packaging step of the build. You can find it in the obj/Debug/android folder of your project.
这篇关于寻找COM .....在Android的布局使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!