当前位置:编程学习 > wap >>

TableLayout 问题

在main.xml文件中写android:layout_column="1" 这句的时候layout_column怎么没有提示啊


<?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"
    android:orientation="vertical"
    android:stretchColumns="0,1,2" >
    
    <TableRow >
        <TextView 
             android:layout_column="1"
              
            />      
    </TableRow>
</TableLayout>
 

有的时候还报错 --------------------编程问答-------------------- 高手求救 --------------------编程问答-------------------- 顶 --------------------编程问答--------------------  TextView 里面写这个 layout_column 干嘛的? --------------------编程问答-------------------- android并不是所有的都有提示的 你用的多了就知道了 况且android4.0里有个网格布局!table布局有缺陷 --------------------编程问答-------------------- 原来如此  嘿嘿  --------------------编程问答-------------------- 不过你本身高的话直接改源码把这个缺陷弥补!!!嘿嘿  --------------------编程问答-------------------- tablelayout好像不能列合并 网格就可以
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,