Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <android.widget.cts.MyScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:id="@+id/scroll_view"
     19     android:layout_width="100dip"
     20     android:layout_height="100dip">
     21 
     22     <LinearLayout
     23         android:orientation="vertical"
     24         android:layout_width="250dip"
     25         android:layout_height="wrap_content">
     26 
     27         <Button
     28             android:id="@+id/first_child"
     29             android:layout_width="250dip"
     30             android:layout_height="100dip"
     31             android:text="@string/vertical_text_1"/>
     32 
     33         <Button
     34             android:layout_width="250dip"
     35             android:layout_height="100dip"
     36             android:text="@string/vertical_text_2"/>
     37 
     38         <Button
     39             android:layout_width="250dip"
     40             android:layout_height="100dip"
     41             android:text="@string/vertical_text_3"/>
     42 
     43         <Button
     44             android:layout_width="250dip"
     45             android:layout_height="100dip"
     46             android:text="@string/vertical_text_1"/>
     47 
     48         <Button
     49             android:layout_width="250dip"
     50             android:layout_height="100dip"
     51             android:text="@string/vertical_text_2"/>
     52 
     53         <Button
     54             android:layout_width="250dip"
     55             android:layout_height="100dip"
     56             android:text="@string/vertical_text_3"/>
     57 
     58         <Button
     59             android:layout_width="250dip"
     60             android:layout_height="100dip"
     61             android:text="@string/vertical_text_1"/>
     62 
     63         <Button
     64             android:layout_width="250dip"
     65             android:layout_height="100dip"
     66             android:text="@string/vertical_text_2"/>
     67 
     68         <Button
     69             android:layout_width="250dip"
     70             android:layout_height="100dip"
     71             android:text="@string/vertical_text_3"/>
     72 
     73         <Button
     74             android:layout_width="250dip"
     75             android:layout_height="100dip"
     76             android:text="@string/vertical_text_1"/>
     77 
     78         <Button
     79             android:layout_width="250dip"
     80             android:layout_height="100dip"
     81             android:text="@string/vertical_text_2"/>
     82 
     83         <Button
     84             android:layout_width="250dip"
     85             android:layout_height="100dip"
     86             android:text="@string/vertical_text_3"/>
     87 
     88         <Button
     89             android:layout_width="250dip"
     90             android:layout_height="100dip"
     91             android:text="@string/vertical_text_1"/>
     92 
     93         <Button
     94             android:layout_width="250dip"
     95             android:layout_height="100dip"
     96             android:text="@string/vertical_text_2"/>
     97 
     98         <Button
     99             android:id="@+id/last_child"
    100             android:layout_width="250dip"
    101             android:layout_height="100dip"
    102             android:text="@string/vertical_text_3"/>
    103     </LinearLayout>
    104 
    105 </android.widget.cts.MyScrollView>
    106