Changed LinearLayout and RelativeLayout to FrameLayout