• 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:orientation="vertical"
19    android:layout_width="fill_parent"
20    android:layout_height="fill_parent">
21
22    <LinearLayout
23        android:orientation="vertical"
24        android:layout_width="fill_parent"
25        android:layout_height="wrap_content">
26
27        <Button android:id="@+id/button"
28            android:text="@string/controls_1_save"
29            android:layout_width="wrap_content"
30            android:layout_height="wrap_content"/>
31
32        <EditText android:id="@+id/edit"
33            android:layout_width="fill_parent"
34            android:layout_height="wrap_content"/>
35
36        <CheckBox android:id="@+id/check1"
37            android:paddingBottom="24sp"
38	        android:paddingTop="24sp"
39            android:layout_width="wrap_content"
40            android:layout_height="wrap_content"
41            android:text="@string/controls_1_checkbox_1" />
42
43        <CheckBox android:id="@+id/check2"
44            android:layout_width="wrap_content"
45            android:layout_height="wrap_content"
46            android:text="@string/controls_1_checkbox_2" />
47
48        <RadioGroup
49            android:layout_width="fill_parent"
50            android:layout_height="wrap_content"
51            android:orientation="vertical">
52
53            <RadioButton android:id="@+id/radio1"
54                android:layout_width="wrap_content"
55                android:layout_height="wrap_content"
56                android:text="@string/controls_1_radiobutton_1" />
57
58            <RadioButton android:id="@+id/radio2"
59                android:layout_width="wrap_content"
60                android:layout_height="wrap_content"
61                android:text="@string/controls_1_radiobutton_2" />
62
63        </RadioGroup>
64
65        <CheckBox android:id="@+id/star"
66            style="?android:attr/starStyle"
67            android:layout_width="wrap_content"
68            android:layout_height="wrap_content"
69            android:text="@string/controls_1_star" />
70
71        <ToggleButton android:id="@+id/toggle1"
72            android:layout_width="wrap_content"
73            android:layout_height="wrap_content" />
74
75        <ToggleButton android:id="@+id/toggle2"
76            android:layout_width="wrap_content"
77            android:layout_height="wrap_content" />
78
79        <Spinner android:id="@+id/spinner1"
80            android:layout_width="fill_parent"
81            android:layout_height="wrap_content"
82            android:drawSelectorOnTop="true"
83        />
84
85        <TextView
86            android:layout_width="fill_parent"
87            android:layout_height="wrap_content"
88            android:layout_marginTop="5dip"
89            android:text="@string/textColorPrimary"
90            android:textAppearance="?android:attr/textAppearanceLarge"
91            android:focusable="true"
92        />
93
94        <TextView
95            android:layout_width="fill_parent"
96            android:layout_height="wrap_content"
97            android:layout_marginTop="5dip"
98            android:text="@string/textColorSecondary"
99            android:textAppearance="?android:attr/textAppearanceLarge"
100            android:textColor="?android:attr/textColorSecondary"
101            android:focusable="true"
102        />
103
104        <TextView
105            android:layout_width="fill_parent"
106            android:layout_height="wrap_content"
107            android:layout_marginTop="5dip"
108            android:text="@string/textColorTertiary"
109            android:textAppearance="?android:attr/textAppearanceLarge"
110            android:textColor="?android:attr/textColorTertiary"
111            android:focusable="true"
112        />
113
114        <TextView
115            style="?android:attr/listSeparatorTextViewStyle"
116            android:text="@string/listSeparatorTextViewStyle"
117            android:layout_marginTop="5dip"
118        />
119
120    </LinearLayout>
121
122</ScrollView>
123