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.
デフォルトのAndroidタイムピッカーは、1分のステップがあります。5分のステップに変更したいと思います。したがって、「+」ボタンをクリックすると、09:20の時刻は09:25になります。
それを行う簡単な方法はありますか?
独自のTimePickerを作成する必要があります。既存のTimePickerを拡張して、ボタンイベントを自分で処理できるかどうかはわかりません。これがあなたの質問に対するより詳細な答えです:
Android-TimePicker分から15分