I am comfortable with creating the gallery in the xml and then using it in the java file. However, I am trying to create a new gallery view in the java file. Reasoning is I am not sure at launch how many gallery views I would need and would like to be able to dynamically create gallery view as needed.
TIA