android中按钮间隔,Android布局有2个均匀间隔的按钮
我有这个布局正常工作,相对布局与文本视图和两个按钮均匀分布在它下面.
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:padding="5px"
android:visibility="gone"
android:layout_below="@+id/ad"
android:background="#80000000">
android:layout_height="wrap_content" android:text="Entry Popup..."
android:textColor="#ffffffff"
android:textSize="20sp" />
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title">
android:layout_height="fill_parent"
android:layout_width="0dip"
android:layout_weight="1"/>
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="fill_parent"/>
但是运行layoutopt它说“这个TableRow布局或它的TableLayout父级可能无用”.
有没有办法在没有表格的情况下进行此布局?
总结
以上是生活随笔为你收集整理的android中按钮间隔,Android布局有2个均匀间隔的按钮的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: android 多个类的对象,andro
- 下一篇: android drawableleft