Question

I have an android project, that uses library project. How to add the activity from the Library project to the AndroidMAnifest.xml of the android project.

Was it helpful?

Solution

Accessing the library project's activity is declaring the Activity with its package name in AndroidManifest.xml of Android project as below:

 <activity android:name="com.example.LibraryProjectActivity" android:screenOrientation="portrait"></activity>

Now you can access the library project's Activity.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top