1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="wrap_content"
19 android:layout_height="wrap_content">
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:orientation="vertical">
27 android:id="@+id/change_backgrounds"
28 android:text="@string/change_backgrounds"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content" />
32 <!-- Different views and layouts that should initially be small but still contain
33 some content (hence the minimal text inside each of the layouts). Each of these
34 will each be tested to make sure they expand to at least the minimum size
35 recommended by different backgrounds -->
38 android:id="@+id/text_view"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:text="@string/minimal_text" />
44 android:id="@+id/linear_layout"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content">
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:text="@string/minimal_text" />
56 android:id="@+id/relative_layout"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content">
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:text="@string/minimal_text" />
68 android:id="@+id/frame_layout"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content">
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:text="@string/minimal_text" />
80 android:id="@+id/absolute_layout"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content">
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:text="@string/minimal_text" />