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 <include 50 android:id="@+id/two_finger_triple_tap_shortcut" 51 layout="@layout/accessibility_edit_shortcut_component" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:layout_marginBottom="32dp" 55 android:visibility="gone" /> 56 57 <LinearLayout 58 android:id="@+id/advanced_shortcut" 59 android:layout_width="match_parent" 60 android:layout_height="wrap_content" 61 android:minHeight="?android:attr/listPreferredItemHeightSmall" 62 android:orientation="horizontal"> 63 64 <ImageView 65 android:layout_width="wrap_content" 66 android:layout_height="wrap_content" 67 android:layout_gravity="center" 68 android:contentDescription="@null" 69 android:scaleType="centerCrop" 70 android:src="@drawable/ic_keyboard_arrow_down" /> 71 72 <TextView 73 android:layout_width="match_parent" 74 android:layout_height="match_parent" 75 android:gravity="center_vertical" 76 android:paddingStart="12dp" 77 android:text="@string/accessibility_shortcut_edit_dialog_title_advance" 78 android:textAppearance="?android:attr/textAppearanceListItem" 79 android:textColor="?android:attr/colorAccent" 80 android:textSize="16sp" /> 81 82 </LinearLayout> 83 84 <include 85 android:id="@+id/triple_tap_shortcut" 86 layout="@layout/accessibility_edit_shortcut_component" 87 android:visibility="gone" /> 88 89 </LinearLayout> 90 </ScrollView> 91</FrameLayout>