Android sample for LinearLayout and FrameLayout