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.
画像 (サイズは 600 * 400) があり、画像ビューのサイズは (300 * 400) です。
この画像をロードして、アニメーションで左から右へ (5 秒で) 自動スクロールします。
「scrollto」とタイマーを使用しようとしていますが、あまり良くありません。
このイメージビューをアニメーションでスムーズにスクロールするには?
どうもありがとう。
Handler を使用しようとしましたか?
Handler handler1 = new Handler(); handler1.postDelayed(new Runnable() { public void run() { "Your code that be executed after 5 seconds" } }, 5000);