Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは!
ガラー選択アイテムの途中で設定を無効にしたい。どうやってやるの?
助けてくれてありがとう!
私はそれを自分で見つけました。ギャラリー ウィジェットの中央にある選択項目の自動中央揃えを無効にする必要がある場合でも、ギャラリーに次のメソッドを追加する必要があります。
@Override public boolean onSingleTapUp(MotionEvent e) { setSelection(getSelectedItemPosition()); return true; }