Gallery 進入時第一個 Item 置於最左側,而非居中。
gallery.setSelection(0); // 0 為第一項索引
// 或延遲執行確保佈局完成
gallery.post(() -> gallery.setSelection(0));
Gallery 已**棄用** (API 16+),新專案建議用 `RecyclerView` + `LinearLayoutManager.HORIZONTAL` + `PagerSnapHelper` 實現水平畫廊,支持靠左/靠右/居中對齊配置。