xref: /aosp_15_r20/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/res/raw/sample_form.html (revision d353a188ca6ec4b5eba25b5fbd7bcb8ce61322fb)
1<!DOCTYPE html><!--
2 * Copyright (C) 2017 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<html>
17    <body>
18        <form>
19            Username:
20            <input
21                    type='text'
22                    name='username'
23                    autocomplete='username' />
24            <br />
25            <br />
26            Password:
27            <input
28                    type='password'
29                    name='password'
30                    autocomplete='current-password' />
31            <br />
32            <input
33                    type='submit'
34                    value='Login' />
35        </form>
36
37        <!--  Other autocomplete examples - they're not included because they would require
38              filling all fields to trigger Save when using the sample services
39
40            Work email:
41            <input
42                    type='text'
43                    name='email'
44                    autocomplete='work email' />
45            <br />
46
47            Shipping address1:
48            <input
49                    type='text'
50                    name='address'
51                    autocomplete='section-whatever shipping address-line1' />
52            <br />
53            Shipping address2:
54            <input
55                    type='text'
56                    name='address'
57                    autocomplete='shipping address-line2' />
58            <br />
59            Shipping address3:
60            <input
61                    type='text'
62                    name='address'
63                    autocomplete='section-whatever address-line3' />
64            <br />
65            <br />
66        </form>
67        -->
68    </body>
69</html>