0

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.

Adham
  • 63,550
  • 98
  • 229
  • 344

1 Answers1

1

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.

Avadhani Y
  • 7,566
  • 19
  • 63
  • 90