Gallery Viewer¶
| Category | Requires | Version | 
|---|---|---|
| Layout > Views | API 21, Android 5.0 Lollipop | 1 | 
Overview¶
A visible component that groups other components in a center-locked, horizontally scrolling list.
Events¶
After Picking¶
Triggered after an image is selected. It will also report selected image name
| Params | |
|---|---|
| image Name | Text | 
Properties¶
Height¶
Number  Read Write  - Blocks
Specifies the component's vertical height, measured in pixels.
Height Percent¶
Number  Write  - Blocks
Specifies the component's vertical height as a percentageof the height of its parent Component.
Images¶
List  Read Write  - Blocks
Adds a series of images to the gallery
Padding¶
Number Default: 5  Read Write  - Designer Blocks
Sets the spacing (in DIP) between images
Selection¶
Text  Read Write  - Blocks
Property for Selection
Thumbnail Height in DIP¶
Number Default: 100  Read Write  - Designer Blocks
Sets the height of thumbnail in DIP (Density Independent Pixel)
Thumbnail Width in DIP¶
Number Default: 100  Read Write  - Designer Blocks
Sets the width of thumbnail in DIP (Density Independent Pixel)
Visible¶
Boolean Default: True  Read Write  - Designer Blocks
Returns true iff the component is visible.
Width¶
Number  Read Write  - Blocks
Specifies the component's horizontal width, measured in pixels.
Width Percent¶
Number  Write  - Blocks
Specifies the component's horizontal width as a percentageof the Width of its parent Component.