Create a dialog that could let users choose their preferred accessibility shortcut. This CL only contains dialog layout and its utility methods. Related logic implementation will be added in next CL. Bug: 142531156 Test: Maunal Change-Id: I7bfccea96cc47dd213b4d828499c10b290e24330
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2019 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License
|
|
-->
|
|
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scrollbarStyle="outsideOverlay">
|
|
|
|
<LinearLayout
|
|
android:theme="@style/Theme.AlertDialog"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingTop="24dp"
|
|
android:paddingStart="24dp"
|
|
android:paddingEnd="24dp">
|
|
|
|
<include android:id="@+id/software_shortcut"
|
|
layout="@layout/accessibility_edit_shortcut_component"/>
|
|
|
|
<include android:id="@+id/hardware_shortcut"
|
|
layout="@layout/accessibility_edit_shortcut_component"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |