TableLayout 的layout_gravity问题 木有人来解决这个问题吗= =主流都不喜欢这个布局好像。。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好吧,没人知道吗?我公布答案好了 android:layout_marginLeft="14dp" android:layout_marginRight="14dp" 把这两句从TableRow放到TableLayout 就OK了 <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="14dp" android:layout_marginRight="14dp" android:stretchColumns="0,1" >至于为什么,我觉得应该从源码找才能知道。。下吧 wordpress Android客户端 android系统下开发的游戏,应用都是免费下载,开发者怎样赚钱呢? 关于android定时播放视频的问题 关于Activity和intent使用的困惑 android 源码的版本问题 代码求解释 Android 解析json数据问题 怎么让一个登陆按钮在不填入用户名和密码的时候没办法按下 progurad 之后报错误 android模拟器出错 一个关于移动webapp的疑惑 unable stop MainActivity
android:layout_marginLeft="14dp"
android:layout_marginRight="14dp"
把这两句从TableRow放到TableLayout 就OK了
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginLeft="14dp"
android:layout_marginRight="14dp"
android:stretchColumns="0,1" >
至于为什么,我觉得应该从源码找才能知道。。下吧