In order to implement the Xtify Inbox within your Android application follow the steps below:
- Add the classes from the package com.acmelabs.inbox of the AcmeLabs sample application to your own application.
Add those lines to your AndroidManifest.xml file. Change the package name from "com.acmelabs.inbox" to your package name and add your APP key.
- Add the files notification_inbox_list_item.xml and notification_inbox.xml to your Android project under the res/layout directory.
- Add a header image to your Android project in order to replace the AcmeLabs header image with your own.
- for medium-density screens, add the image to the res/drawable directory with the size 300x100.
- for high-density screens, add the image under res/drawable-hdpi with the size 450x150.
- for medium-density screens, add the image to the res/drawable directory with the size 300x100.
To show the Inbox screen call the NotificationInbox activity:
Next Section: Enable Xtify Retain (Optional)
Labels: