1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2010 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<ScrollView 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/scroll_view" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" > 21 <LinearLayout 22 android:orientation="vertical" 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content"> 25 26 <HorizontalScrollView 27 android:id="@+id/horizontal_scroll_view" 28 android:layout_width="match_parent" 29 android:layout_height="match_parent"> 30 <LinearLayout 31 android:orientation="horizontal" 32 android:layout_width="match_parent" 33 android:layout_height="match_parent"> 34 <ImageView 35 android:layout_width="match_parent" 36 android:layout_height="200dp" 37 android:src="@drawable/sunset1"/> 38 <ImageView 39 android:layout_width="match_parent" 40 android:layout_height="200dp" 41 android:src="@drawable/sunset1"/> 42 <ImageView 43 android:layout_width="match_parent" 44 android:layout_height="200dp" 45 android:src="@drawable/sunset1"/> 46 <ImageView 47 android:layout_width="match_parent" 48 android:layout_height="200dp" 49 android:src="@drawable/sunset1"/> 50 <ImageView 51 android:layout_width="match_parent" 52 android:layout_height="200dp" 53 android:src="@drawable/sunset1"/> 54 <ImageView 55 android:layout_width="match_parent" 56 android:layout_height="200dp" 57 android:src="@drawable/sunset1"/> 58 </LinearLayout> 59 </HorizontalScrollView> 60 <ImageView 61 android:layout_width="match_parent" 62 android:layout_height="200dp" 63 android:src="@drawable/sunset1"/> 64 <ImageView 65 android:layout_width="match_parent" 66 android:layout_height="200dp" 67 android:src="@drawable/sunset1"/> 68 <ImageView 69 android:layout_width="match_parent" 70 android:layout_height="200dp" 71 android:src="@drawable/sunset1"/> 72 <ImageView 73 android:layout_width="match_parent" 74 android:layout_height="200dp" 75 android:src="@drawable/sunset1"/> 76 <ImageView 77 android:layout_width="match_parent" 78 android:layout_height="200dp" 79 android:src="@drawable/sunset1"/> 80 <ImageView 81 android:layout_width="match_parent" 82 android:layout_height="200dp" 83 android:src="@drawable/sunset1"/> 84 85 </LinearLayout> 86</ScrollView> 87