blob: 31966e3ce4c5c650bc63f1ebd180f9b3a5cb437c [file] [log] [blame]
Kevin Chang21fd0e82019-11-15 20:03:21 +08001<?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
menghanlifd514372020-03-05 21:57:48 +080018<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
menghanlibff36f72020-04-08 16:10:37 +080019 android:id="@+id/container_layout"
Kevin Chang21fd0e82019-11-15 20:03:21 +080020 android:layout_width="match_parent"
21 android:layout_height="match_parent"
22 android:scrollbarStyle="outsideOverlay">
23
24 <LinearLayout
Kevin Chang21fd0e82019-11-15 20:03:21 +080025 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
27 android:orientation="vertical"
menghanlifd514372020-03-05 21:57:48 +080028 android:padding="24dp">
Kevin Chang21fd0e82019-11-15 20:03:21 +080029
menghanlifd514372020-03-05 21:57:48 +080030 <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" />
Kevin Chang21fd0e82019-11-15 20:03:21 +080036
menghanlifd514372020-03-05 21:57:48 +080037 <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" />
Kevin Chang21fd0e82019-11-15 20:03:21 +080043
44 <LinearLayout
45 android:id="@+id/advanced_shortcut"
46 android:layout_width="match_parent"
47 android:layout_height="wrap_content"
menghanli5d7083a2020-03-04 21:47:57 +080048 android:minHeight="?android:attr/listPreferredItemHeightSmall"
Kevin Chang21fd0e82019-11-15 20:03:21 +080049 android:orientation="horizontal">
50
51 <ImageView
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
menghanli5d7083a2020-03-04 21:47:57 +080054 android:layout_gravity="center"
55 android:contentDescription="@null"
56 android:scaleType="centerCrop"
menghanlifd514372020-03-05 21:57:48 +080057 android:src="@drawable/ic_keyboard_arrow_down" />
Kevin Chang21fd0e82019-11-15 20:03:21 +080058
59 <TextView
60 android:layout_width="match_parent"
61 android:layout_height="match_parent"
62 android:gravity="center_vertical"
menghanlifd514372020-03-05 21:57:48 +080063 android:paddingStart="12dp"
menghanli36baf992020-01-20 21:25:53 +080064 android:text="@string/accessibility_shortcut_edit_dialog_title_advance"
65 android:textAppearance="?android:attr/textAppearanceListItem"
menghanlifd514372020-03-05 21:57:48 +080066 android:textColor="?android:attr/colorAccent"
67 android:textSize="16sp" />
Kevin Chang21fd0e82019-11-15 20:03:21 +080068
menghanlifd514372020-03-05 21:57:48 +080069 </LinearLayout>
Kevin Chang21fd0e82019-11-15 20:03:21 +080070
menghanlifd514372020-03-05 21:57:48 +080071 <include
72 android:id="@+id/triple_tap_shortcut"
73 layout="@layout/accessibility_edit_shortcut_component"
74 android:visibility="gone" />
Kevin Chang21fd0e82019-11-15 20:03:21 +080075
76 </LinearLayout>
77
menghanlifd514372020-03-05 21:57:48 +080078</ScrollView>