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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:id="@+id/container_layout" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent" 22 android:scrollbarStyle="outsideOverlay"> 23 24 <LinearLayout 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:orientation="vertical" 28 android:padding="24dp"> 29 30 <include 31 android:id="@+id/software_shortcut" 32 layout="@layout/accessibility_edit_shortcut_component" 33 android:layout_width="match_parent" 34 android:layout_height="wrap_content" 35 android:layout_marginBottom="32dp" /> 36 37 <include 38 android:id="@+id/hardware_shortcut" 39 layout="@layout/accessibility_edit_shortcut_component" 40 android:layout_width="match_parent" 41 android:layout_height="wrap_content" 42 android:layout_marginBottom="32dp" /> 43 44 <LinearLayout 45 android:id="@+id/advanced_shortcut" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:minHeight="?android:attr/listPreferredItemHeightSmall" 49 android:orientation="horizontal"> 50 51 <ImageView 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:layout_gravity="center" 55 android:contentDescription="@null" 56 android:scaleType="centerCrop" 57 android:src="@drawable/ic_keyboard_arrow_down" /> 58 59 <TextView 60 android:layout_width="match_parent" 61 android:layout_height="match_parent" 62 android:gravity="center_vertical" 63 android:paddingStart="12dp" 64 android:text="@string/accessibility_shortcut_edit_dialog_title_advance" 65 android:textAppearance="?android:attr/textAppearanceListItem" 66 android:textColor="?android:attr/colorAccent" 67 android:textSize="16sp" /> 68 69 </LinearLayout> 70 71 <include 72 android:id="@+id/triple_tap_shortcut" 73 layout="@layout/accessibility_edit_shortcut_component" 74 android:visibility="gone" /> 75 76 </LinearLayout> 77 78</ScrollView> 79