Test Gallery layout direction.

Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
17 files changed