图片位置 http://blog.csdn.net/hellogv/archive/2009/09/18/4567095.aspxhellogv的一篇文章,可以参考 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 确实可以,不过我还有疑问,如果我有6副图片,用320*480的模拟器,一行就是3个,显示2行,但如果我换一种模拟器,比如800*640,那一排就是6个了,也就是都显示在一行里了,我看了下程序,android:columnWidth="90dp",这个貌似把列宽给写死了,如果我想在所有机型上一排都只显示3个,不知有没什么方法? 用两个LinearLayout嵌套<LinearLayout> //vertical > <LinearLayout> //horizontal > // 3个imageview </LinearLayout></LinearLayout> <?xml version="1.0" encoding="UTF-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> <TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:stretchColumns="*"> <TableRow> <ImageView android:src="@drawable/icon"></ImageView> <ImageView android:src="@drawable/icon"></ImageView> <ImageView android:src="@drawable/icon"></ImageView> </TableRow> </TableLayout></LinearLayout>效果图 : 想实现把webview显示的页面移动位置 急急急,求大神指点,感激不尽 请教:在创建android项目时出现如下故障? 运行时报ResourceNotFound android 聊天程序客户端收到消息弹出提示框问题 关于Android编辑框的问题~ 关于微信,关于一条指令的意思,求解惑 Android加载ArcGis地图 setMargins不起作用 求助listview展开子child问题 画直线 哪有android视屏
//vertical
>
<LinearLayout>
//horizontal
>
// 3个imageview
</LinearLayout>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TableLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:stretchColumns="*">
<TableRow>
<ImageView android:src="@drawable/icon"></ImageView>
<ImageView android:src="@drawable/icon"></ImageView>
<ImageView android:src="@drawable/icon"></ImageView>
</TableRow>
</TableLayout>
</LinearLayout>效果图 :