背景色を設定する方法を確認します。「FrameLayout」クラスの親クラスである「View」クラスで用意されている「setBackgroundColor」メソッドを使います。 setBackgroundColor public void setBackgroundColor(int color) Sets the background color for this view. Parameters: color the color of the background 1番目の引数に背景色を指定します。色の指定には「android.graphics.Color」クラスを使います。詳しくは「Colorクラス」を参照して下さい。 具体的には次のように記述します。 private final int WC = ViewGroup.LayoutParams.WRAP_CONTENT; @Overr