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.
ViewAnimator のビューの先頭にビューを追加する必要があります。どうやってやるの?ViewAnimator.addView(view) は、ビューをリストの最後に追加します。しかし、最初に追加する必要があります。ありがとう!
ViewAnimator には、ビューを追加するための追加のメソッドがあります。インデックス 0 にビューを追加できます。
addView(View child, int index, ViewGroup.LayoutParams params) Adds a child view with the specified layout parameters.