在项目中,我们会遇到FrameLayout这个控件,在他上面放button时,button会显示不出来,在button外面嵌套RelativeLayout无效的情况下,只需button.bringToFront() 就可以了