Resource from library project are packaged with the application (that's the whole point of library projects), so you don't need to change any @<type> references.
The only thing you need to update are the classes (like Activity, Service, etc...) that are declared relative to the library package in the library manifest. They must be expanded as the package of the main application is different. Xav On Fri, Nov 26, 2010 at 6:46 AM, Premier <[email protected]> wrote: > For example, for android default resource you can use @android:anim/ > cycle_interpolator > And for resource in library project? > > On 26 Nov, 15:37, Premier <[email protected]> wrote: >> Hello, >> i'm using Android Project Library (http://goo.gl/7vvxI). In Android >> docs, it copys all items from android library project >> AndroidManifest.xml in application AndroidManifest.xml >> >> like in example, AndroidManifest.xml of library project >> <manifest> >> ... >> <application> >> ... >> <activity android:name="GameActivity" /> >> ... >> </application> >> ... >> </manifest> >> >> so, AndroidManifest.xml of application must be >> <manifest> >> ... >> <application> >> ... >> <activity >> android:name="com.example.android.tictactoe.library.GameActivity" /> >> ... >> </application> >> ... >> </manifest> >> >> So, if in library project i've a widget declaration, like below, how i >> can refer to widget xml in application AndroidManifest.xml? >> >> In library project >> >> <receiver >> android:name="com.example.android.tictactoe.library.MedWidget" >> android:label="@string/label_med_widget"> >> <meta-data android:name="android.appwidget.provider" >> android:resource="@xml/med_provider" /> >> <intent-filter> >> <action >> android:name="android.appwidget.action.APPWIDGET_UPDATE" /> >> </intent-filter> >> </receiver> >> >> in meta-data i refer to med_provider in xml folder. Do i need to copy >> med_provider.xml in xml folder of application? >> >> thanks. > > -- > 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 > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. Please do not send me questions directly. Thanks! -- 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

