• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2007 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
17<!-- Demonstrates scrolling with a ScrollView. -->
18
19<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
20    android:layout_width="match_parent"
21    android:layout_height="wrap_content">
22
23    <LinearLayout
24        android:orientation="vertical"
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content">
27
28        <TextView
29            android:layout_width="match_parent"
30            android:layout_height="wrap_content"
31            android:text="@string/scrollbar_1_text"/>
32        <TextView
33            android:layout_width="match_parent"
34            android:layout_height="wrap_content"
35            android:text="@string/scrollbar_1_text"/>
36        <TextView
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:text="@string/scrollbar_1_text"/>
40        <TextView
41            android:layout_width="match_parent"
42            android:layout_height="wrap_content"
43            android:text="@string/scrollbar_1_text"/>
44        <TextView
45            android:layout_width="match_parent"
46            android:layout_height="wrap_content"
47            android:text="@string/scrollbar_1_text"/>
48        <TextView
49            android:layout_width="match_parent"
50            android:layout_height="wrap_content"
51            android:text="@string/scrollbar_1_text"/>
52        <TextView
53            android:layout_width="match_parent"
54            android:layout_height="wrap_content"
55            android:text="@string/scrollbar_1_text"/>
56        <TextView
57            android:layout_width="match_parent"
58            android:layout_height="wrap_content"
59            android:text="@string/scrollbar_1_text"/>
60        <TextView
61            android:layout_width="match_parent"
62            android:layout_height="wrap_content"
63            android:text="@string/scrollbar_1_text"/>
64        <TextView
65            android:layout_width="match_parent"
66            android:layout_height="wrap_content"
67            android:text="@string/scrollbar_1_text"/>
68        <TextView
69            android:layout_width="match_parent"
70            android:layout_height="wrap_content"
71            android:text="@string/scrollbar_1_text"/>
72        <TextView
73            android:layout_width="match_parent"
74            android:layout_height="wrap_content"
75            android:text="@string/scrollbar_1_text"/>
76        <TextView
77            android:layout_width="match_parent"
78            android:layout_height="wrap_content"
79            android:text="@string/scrollbar_1_text"/>
80        <TextView
81            android:layout_width="match_parent"
82            android:layout_height="wrap_content"
83            android:text="@string/scrollbar_1_text"/>
84        <TextView
85            android:layout_width="match_parent"
86            android:layout_height="wrap_content"
87            android:text="@string/scrollbar_1_text"/>
88        <TextView
89            android:layout_width="match_parent"
90            android:layout_height="wrap_content"
91            android:text="@string/scrollbar_1_text"/>
92        <TextView
93            android:layout_width="match_parent"
94            android:layout_height="wrap_content"
95            android:text="@string/scrollbar_1_text"/>
96        <TextView
97            android:layout_width="match_parent"
98            android:layout_height="wrap_content"
99            android:text="@string/scrollbar_1_text"/>
100        <TextView
101            android:layout_width="match_parent"
102            android:layout_height="wrap_content"
103            android:text="@string/scrollbar_1_text"/>
104        <TextView
105            android:layout_width="match_parent"
106            android:layout_height="wrap_content"
107            android:text="@string/scrollbar_1_text"/>
108        <TextView
109            android:layout_width="match_parent"
110            android:layout_height="wrap_content"
111            android:text="@string/scrollbar_1_text"/>
112        <TextView
113            android:layout_width="match_parent"
114            android:layout_height="wrap_content"
115            android:text="@string/scrollbar_1_text"/>
116        <TextView
117            android:layout_width="match_parent"
118            android:layout_height="wrap_content"
119            android:text="@string/scrollbar_1_text"/>
120        <TextView
121            android:layout_width="match_parent"
122            android:layout_height="wrap_content"
123            android:text="@string/scrollbar_1_text"/>
124        <TextView
125            android:layout_width="match_parent"
126            android:layout_height="wrap_content"
127            android:text="@string/scrollbar_1_text"/>
128        <TextView
129            android:layout_width="match_parent"
130            android:layout_height="wrap_content"
131            android:text="@string/scrollbar_1_text"/>
132        <TextView
133            android:layout_width="match_parent"
134            android:layout_height="wrap_content"
135            android:text="@string/scrollbar_1_text"/>
136        <TextView
137            android:layout_width="match_parent"
138            android:layout_height="wrap_content"
139            android:text="@string/scrollbar_1_text"/>
140        <TextView
141            android:layout_width="match_parent"
142            android:layout_height="wrap_content"
143            android:text="@string/scrollbar_1_text"/>
144        <TextView
145            android:layout_width="match_parent"
146            android:layout_height="wrap_content"
147            android:text="@string/scrollbar_1_text"/>
148        <TextView
149            android:layout_width="match_parent"
150            android:layout_height="wrap_content"
151            android:text="@string/scrollbar_1_text"/>
152        <TextView
153            android:layout_width="match_parent"
154            android:layout_height="wrap_content"
155            android:text="@string/scrollbar_1_text"/>
156        <TextView
157            android:layout_width="match_parent"
158            android:layout_height="wrap_content"
159            android:text="@string/scrollbar_1_text"/>
160        <TextView
161            android:layout_width="match_parent"
162            android:layout_height="wrap_content"
163            android:text="@string/scrollbar_1_text"/>
164        <TextView
165            android:layout_width="match_parent"
166            android:layout_height="wrap_content"
167            android:text="@string/scrollbar_1_text"/>
168    </LinearLayout>
169</ScrollView>
170