Photo Gallery Activity

Photo Gallery Activities are for adding photo gallery to your app.

Example Screenshot

Photo Gallery Activity Example

Adding an Photo Gallery Activity

To add a Photo Gallery activity to your project: start editing your project and go to the Activities tab. Under 'Add an Activity' click the Photo Gallery icon button to create a new activity.

Now let's take a look at the Photo Gallery Activity settings.

Activity Name

The name that you want to give your activity. This will appear on the dashboard and on the Action bar. It can be whatever you want but should probably describe what it is used for. For example: "Band Members".

Description

A few words describing this activity. This text may be displayed on the dashboard as a subtitle when it's Show Subtitle Text setting is enabled.

Position

This is a relative index that controls the order of the activities in your application. The position will effect where your activity is displayed on the dashboard and in the action bar drop down. For more information on this setting please read: How to change the order of the icons on the dashboard

Activity Icon

This is where you can select the icon that will be used to represent this activity on the dashboard.

Photo Gallery Details

Here you can control the features that you want to enable or disable in your Photo Gallery Activity:

Photo Gallery Activity Index Example

Photo Gallery Activity Context Menu

Photo Gallery Activity Share Menu

  • Show Index Page - Whether or not your activity will include an index page. The index page is a scrollable grid containing thumbnail versions of all of your photos.
  • Show Descriptions - Whether or not the descriptions of your photos will be displayed.
  • Enable Set-as-Wallpaper - Controls whether or not the end user of your application will be able to use your photos for their wallpaper.
  • Enable Photo Sharing - Whether or not the end users of your application will be able to share your photos. Photos will be shared using the share intent and available to applications that support that intent (e.g. Gmail, Twitter, Facebook)

Gallery Contents

Once you've created your Photo Gallery activity, the next step is to start adding photos. You can add, edit, and delete photos from your activity in the Gallery Contents area.

Add/Edit Photo Settings

Title

The title that will be displayed in the photo's description area.

Description

A short description of the photo that will be displayed in the photo's description area.

Current Photo

Here you can upload a photo that will appear in your Photo Gallery Activity. Supported image formats: PNG and JPG.

Position

This is a relative index that controls the order of the photos in your Photo Gallery activity. The position will effect where your activity is displayed on the index and in the view pager. For more information on a similar setting please read: How to change the order of the icons on the dashboard

Recent Discussions

25 May, 2013 05:48 PM
24 May, 2013 03:17 PM
24 May, 2013 12:41 PM
24 May, 2013 12:20 PM
23 May, 2013 05:44 PM