• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18        android:id="@+id/basic"
19        android:layout_width="fill_parent"
20        android:layout_height="fill_parent">
21
22    <ScrollView
23            android:layout_width="fill_parent"
24            android:layout_height="fill_parent">
25
26    <LinearLayout android:orientation="vertical"
27                  android:layout_width="match_parent"
28                  android:layout_height="match_parent">
29
30        <LinearLayout android:orientation="vertical"
31                      android:layout_width="match_parent"
32                      android:layout_height="wrap_content">
33
34            <TextView android:id="@+id/textview_password_default"
35                    android:layout_height="wrap_content"
36                    android:layout_width="wrap_content"
37                    android:textSize="32dip"
38                    android:text="@string/textview_password_default_text"
39            />
40
41            <EditText android:id="@+id/edittext_password_default"
42                      android:layout_height="wrap_content"
43                      android:layout_width="match_parent"
44                      android:textSize="32dip"
45                      android:password="true"
46                    />
47
48            <TextView android:id="@+id/textview_default"
49                    android:layout_height="wrap_content"
50                    android:layout_width="wrap_content"
51                    android:textSize="32dip"
52                    android:text="@string/textview_default_text"
53            />
54
55            <EditText android:id="@+id/edittext_default"
56                      android:layout_height="wrap_content"
57                      android:layout_width="match_parent"
58                      android:textSize="32dip"
59                    />
60
61            <TextView android:id="@+id/textview_ltr"
62                      android:layout_height="wrap_content"
63                      android:layout_width="wrap_content"
64                      android:textSize="32dip"
65                      android:text="@string/textview_ltr_text"
66                    />
67
68            <EditText android:id="@+id/edittext_ltr"
69                      android:layout_height="wrap_content"
70                      android:layout_width="match_parent"
71                      android:textSize="32dip"
72                      android:textDirection="ltr"
73                    />
74
75            <TextView android:id="@+id/textview_rtl"
76                      android:layout_height="wrap_content"
77                      android:layout_width="wrap_content"
78                      android:textSize="32dip"
79                      android:text="@string/textview_rtl_text"
80                    />
81
82            <EditText android:id="@+id/edittext_rtl"
83                      android:layout_height="wrap_content"
84                      android:layout_width="match_parent"
85                      android:textSize="32dip"
86                      android:textDirection="rtl"
87                    />
88
89        </LinearLayout>
90
91        <Button android:id="@+id/button_alert_dialog"
92                android:layout_height="wrap_content"
93                android:layout_width="wrap_content"
94                android:text="@string/button_alert_dialog_text"
95                android:textSize="32dip"
96                />
97
98        <EditText xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/edittext_url"
99            android:layout_width="match_parent"
100            android:layout_height="wrap_content"
101            android:inputType="text"
102            android:textSize="32dip"
103            android:scrollHorizontally="true"
104            android:ellipsize="end"
105            android:text="@string/url"
106            />
107
108        <LinearLayout
109            android:layout_width="600dip"
110            android:layout_height="128dip"
111            android:layout_gravity="center_vertical"
112            android:orientation="horizontal"
113            style="@android:style/Widget.Holo.Spinner"
114            >
115            <LinearLayout
116                android:layout_width="0dip"
117                android:layout_weight="1"
118                android:layout_height="match_parent"
119                android:layout_gravity="center_vertical"
120                android:orientation="vertical"
121                >
122                <TextView
123                    android:id="@+id/spinner_line_1"
124                    android:layout_width="match_parent"
125                    android:layout_height="0dip"
126                    android:layout_weight="1"
127                    android:textSize="16dip"
128                    android:singleLine="true"
129                    android:ellipsize="end"
130                    android:gravity="left|center_vertical"
131                    android:text="@string/button_text"
132                    />
133            </LinearLayout>
134        </LinearLayout>
135
136    </LinearLayout>
137
138    </ScrollView>
139
140</FrameLayout>
141