在RelativeLayout中通过align_parentBottom属性和在FrameLayout中通过gravity属性来对齐View。
例如:
在这个例子中,通过在RelativeLayout中设置align_parentBottom属性并在FrameLayout中设置gravity属性,可以将Button对齐在FrameLayout的底部。
上一篇:Android:RelativeLayout+FrameLayout->视图对齐问题
下一篇:Android:RelativeLayout+FrameLayout->视图对齐问题