子ビューを追加する時に追加される位置を指定する方法を確認します。「FrameLayout」クラスの親クラスである「ViewGroup」クラスで用意されている「addView」メソッドを使います。 addView public void addView(View child, int index, LayoutParams params) Adds a child view with the specified layout parameters. Parameters: child the child view to add index the position at which to add the child params the layout parameters to set on the child 1番目の引数には追加したい子のビュー、3番目の引数には子ビューの表示レイアウトを