图片位置 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>效果图 : bitmap 图片和背景颜色问题。 H264 解码网络流 视频监控软件,想在里面实现录像的功能。用bitmap描绘的图像,怎么能实现录像? Android休眠和唤醒 获取手机内存信息和SD卡信息差不多,只不过是用的File路径不同,见代码: Android系统开发的请进 跪求一个rtp over udp的视频传输demo 为什么在wifi下可以提交post的网站,用流量提交就会被拒绝? 有有经验的人教教怎么看这些是什么错误么 android wifi开发无法删除某个ssid的问题 画直线 哪有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>效果图 :