android在相对布局中怎么实现_百度知道
最佳答案: 首先setMargin方法不是RelativeLayout的方法,而是RelativeLayout.LayoutParams的方法。 你应该这麼用: RelativeLayout layout = new RelativeLayout(this); ...更多关于安卓布局中相对布局的核心是什么?的问题>>
android 相对布局属性 - Devin Zhang - 博客园
2012年9月30日 - android:layout_marginTop="25dip" //顶部距离 android:gravity="left" //空间布局位置 android:layout_marginLeft="15dip //距离左边距 // 相对于给...