• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2019 The Android Open Source Project
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License
16  -->
17
18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    android:layout_width="match_parent"
20    android:layout_height="wrap_content"
21    android:clipChildren="true">
22
23    <ScrollView
24        android:id="@+id/container_layout"
25        android:layout_width="match_parent"
26        android:layout_height="match_parent"
27        android:scrollbarStyle="outsideOverlay">
28
29        <LinearLayout
30            android:layout_width="match_parent"
31            android:layout_height="wrap_content"
32            android:orientation="vertical"
33            android:padding="24dp">
34
35            <include
36                android:id="@+id/software_shortcut"
37                layout="@layout/accessibility_edit_shortcut_component"
38                android:layout_width="match_parent"
39                android:layout_height="wrap_content"
40                android:layout_marginBottom="32dp" />
41
42            <include
43                android:id="@+id/hardware_shortcut"
44                layout="@layout/accessibility_edit_shortcut_component"
45                android:layout_width="match_parent"
46                android:layout_height="wrap_content"
47                android:layout_marginBottom="32dp" />
48
49            <LinearLayout
50                android:id="@+id/advanced_shortcut"
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content"
53                android:minHeight="?android:attr/listPreferredItemHeightSmall"
54                android:orientation="horizontal">
55
56                <ImageView
57                    android:layout_width="wrap_content"
58                    android:layout_height="wrap_content"
59                    android:layout_gravity="center"
60                    android:contentDescription="@null"
61                    android:scaleType="centerCrop"
62                    android:src="@drawable/ic_keyboard_arrow_down" />
63
64                <TextView
65                    android:layout_width="match_parent"
66                    android:layout_height="match_parent"
67                    android:gravity="center_vertical"
68                    android:paddingStart="12dp"
69                    android:text="@string/accessibility_shortcut_edit_dialog_title_advance"
70                    android:textAppearance="?android:attr/textAppearanceListItem"
71                    android:textColor="?android:attr/colorAccent"
72                    android:textSize="16sp" />
73
74            </LinearLayout>
75
76            <include
77                android:id="@+id/triple_tap_shortcut"
78                layout="@layout/accessibility_edit_shortcut_component"
79                android:visibility="gone" />
80
81        </LinearLayout>
82    </ScrollView>
83</FrameLayout>