BorderLayout的android系统? [英] BorderLayout in android?

查看:129
本文介绍了BorderLayout的android系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有实施的工作可重复使用的边界在android系统布局的方法吗?一个运行方式一样摆动的BorderLayout的:最大化的中间,减少休息到最小尺寸

Is there a way to implement a working reusable border layout in android ? One that behaves just like swing's BorderLayout: Maximizing the middle and reducing the rest to minimal size ?

推荐答案

您可以使用的 RelativeLayout的 机器人在一起。layout_weight 属性来获得同样的效果。

You can use a RelativeLayout together with android:layout_weight attributes to get the same effect.

这篇关于BorderLayout的android系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆