1*90c8c64dSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*90c8c64dSAndroid Build Coastguard Worker<!-- Copyright (C) 2007 The Android Open Source Project 3*90c8c64dSAndroid Build Coastguard Worker 4*90c8c64dSAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*90c8c64dSAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*90c8c64dSAndroid Build Coastguard Worker You may obtain a copy of the License at 7*90c8c64dSAndroid Build Coastguard Worker 8*90c8c64dSAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*90c8c64dSAndroid Build Coastguard Worker 10*90c8c64dSAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*90c8c64dSAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*90c8c64dSAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*90c8c64dSAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*90c8c64dSAndroid Build Coastguard Worker limitations under the License. 15*90c8c64dSAndroid Build Coastguard Worker--> 16*90c8c64dSAndroid Build Coastguard Worker 17*90c8c64dSAndroid Build Coastguard Worker<!-- Demonstrates scrolling with a ScrollView. --> 18*90c8c64dSAndroid Build Coastguard Worker 19*90c8c64dSAndroid Build Coastguard Worker<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 20*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 21*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content"> 22*90c8c64dSAndroid Build Coastguard Worker 23*90c8c64dSAndroid Build Coastguard Worker <LinearLayout 24*90c8c64dSAndroid Build Coastguard Worker android:orientation="vertical" 25*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 26*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content"> 27*90c8c64dSAndroid Build Coastguard Worker 28*90c8c64dSAndroid Build Coastguard Worker <TextView 29*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 30*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 31*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 32*90c8c64dSAndroid Build Coastguard Worker <TextView 33*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 34*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 35*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 36*90c8c64dSAndroid Build Coastguard Worker <TextView 37*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 38*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 39*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 40*90c8c64dSAndroid Build Coastguard Worker <TextView 41*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 42*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 43*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 44*90c8c64dSAndroid Build Coastguard Worker <TextView 45*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 46*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 47*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 48*90c8c64dSAndroid Build Coastguard Worker <TextView 49*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 50*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 51*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 52*90c8c64dSAndroid Build Coastguard Worker <TextView 53*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 54*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 55*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 56*90c8c64dSAndroid Build Coastguard Worker <TextView 57*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 58*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 59*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 60*90c8c64dSAndroid Build Coastguard Worker <TextView 61*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 62*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 63*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 64*90c8c64dSAndroid Build Coastguard Worker <TextView 65*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 66*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 67*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 68*90c8c64dSAndroid Build Coastguard Worker <TextView 69*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 70*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 71*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 72*90c8c64dSAndroid Build Coastguard Worker <TextView 73*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 74*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 75*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 76*90c8c64dSAndroid Build Coastguard Worker <TextView 77*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 78*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 79*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 80*90c8c64dSAndroid Build Coastguard Worker <TextView 81*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 82*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 83*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 84*90c8c64dSAndroid Build Coastguard Worker <TextView 85*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 86*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 87*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 88*90c8c64dSAndroid Build Coastguard Worker <TextView 89*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 90*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 91*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 92*90c8c64dSAndroid Build Coastguard Worker <TextView 93*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 94*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 95*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 96*90c8c64dSAndroid Build Coastguard Worker <TextView 97*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 98*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 99*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 100*90c8c64dSAndroid Build Coastguard Worker <TextView 101*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 102*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 103*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 104*90c8c64dSAndroid Build Coastguard Worker <TextView 105*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 106*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 107*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 108*90c8c64dSAndroid Build Coastguard Worker <TextView 109*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 110*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 111*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 112*90c8c64dSAndroid Build Coastguard Worker <TextView 113*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 114*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 115*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 116*90c8c64dSAndroid Build Coastguard Worker <TextView 117*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 118*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 119*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 120*90c8c64dSAndroid Build Coastguard Worker <TextView 121*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 122*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 123*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 124*90c8c64dSAndroid Build Coastguard Worker <TextView 125*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 126*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 127*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 128*90c8c64dSAndroid Build Coastguard Worker <TextView 129*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 130*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 131*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 132*90c8c64dSAndroid Build Coastguard Worker <TextView 133*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 134*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 135*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 136*90c8c64dSAndroid Build Coastguard Worker <TextView 137*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 138*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 139*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 140*90c8c64dSAndroid Build Coastguard Worker <TextView 141*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 142*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 143*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 144*90c8c64dSAndroid Build Coastguard Worker <TextView 145*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 146*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 147*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 148*90c8c64dSAndroid Build Coastguard Worker <TextView 149*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 150*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 151*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 152*90c8c64dSAndroid Build Coastguard Worker <TextView 153*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 154*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 155*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 156*90c8c64dSAndroid Build Coastguard Worker <TextView 157*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 158*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 159*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 160*90c8c64dSAndroid Build Coastguard Worker <TextView 161*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 162*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 163*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 164*90c8c64dSAndroid Build Coastguard Worker <TextView 165*90c8c64dSAndroid Build Coastguard Worker android:layout_width="match_parent" 166*90c8c64dSAndroid Build Coastguard Worker android:layout_height="wrap_content" 167*90c8c64dSAndroid Build Coastguard Worker android:text="@string/scrollbar_1_text"/> 168*90c8c64dSAndroid Build Coastguard Worker </LinearLayout> 169*90c8c64dSAndroid Build Coastguard Worker</ScrollView> 170