当前位置: 代码迷 >> Android >> Android表格布局有关问题求解.
  详细解决方案

Android表格布局有关问题求解.

热度:167   发布时间:2016-05-01 22:14:49.0
Android表格布局问题求解..
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
  <TableRow >
  <Button android:text="555" 
  android:layout_span = "3"/> <!-- 想问一下大侠们,layout_span这个属性为什么没有啊,是哪里出问题了么? -->  
  </TableRow>

</TableLayout>

------解决方案--------------------
探讨

<Button android:text="555"
android:layout_span = "3"/>
怎么会写在Button里呢.应写在TableRow里吧?
  相关解决方案