android:layout_width=“fill_parent”
android:layout\_height\="fill\_parent">
<Gallery android:id="@+id/img\_gallery"
android:layout_width=“fill_parent”
android:layout_height=“110px” android:layout_marginTop=“2px”
android:layout\_alignParentLeft\="true"></Gallery>
<ImageSwitcher
android:id=“@+id/img_switcher”
android:layout\_width\="90px" android:layout\_height="90px"
android:layout\_centerHorizontal\="true" android:layout\_below="@+id/img\_gallery"
></ImageSwitcher>
C:String文件
<?xml version="1.0" encoding="utf-8"?>
请选择图像
二、设置图片资源
在drawable-hdpi文件夹下放置10个要显示的图片,如下图
![](http://pic002.cnblogs.com/images/