I have an Android project, which is a library. The project compiles and
works in an example project. However, the example project has the same
package name (but a separate project).
In my current project, which has a completely different package name, I am
trying to use the same library. I set up the current project as follows:
* the library project is in the eclipse build path as a project
* the manifest.xml file has this inside the application tag -
<uses-library
android:name="com.markupartist.android.widget.ActionBar"
android:required="true" />
* I added these lines to the layout file for my activity:
<com.markupartist.android.widget.ActionBar
android:id="@+id/actionbar"
style="@style/ActionBar"
/>
I get the error in eclipse - error: Error: No resource found that matches
the given name (at 'style' with value '@style/ActionBar').
The ActionBar library has a syle.xml file with the ActionBar tag. I also
tried putting the ActionBar library as a jar in the build path, and I get
the same error.
What am I missing to include the ActionBar library in my current project?
Thanks,
Mark
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en