Creating library project and integrating into existing project in android <p>I have an application that has got two basic screens, a home page and a sliding drawer menu fragment to the left of home page like the facebook sliding drawer. Now I am planning to create another page to the right of the home page that appears by sliding to the other side. i would like to create this as a library project and just import it to the existing project. how can I do this. I need to display the the new menu drawer on sliding after adding the library project. How can I achieve this ? That is, I will be having a fragment in the library project that populates data by all necessary api calls from server, and I need to inflate the fragment by sliding in the main project.</p>