Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 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 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 18 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
menghanli | bff36f7 | 2020-04-08 16:10:37 +0800 | [diff] [blame] | 19 | android:id="@+id/container_layout" |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent" |
| 22 | android:scrollbarStyle="outsideOverlay"> |
| 23 | |
| 24 | <LinearLayout |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 25 | android:layout_width="match_parent" |
| 26 | android:layout_height="wrap_content" |
| 27 | android:orientation="vertical" |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 28 | android:padding="24dp"> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 29 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 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" /> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 36 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 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" /> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 43 | |
| 44 | <LinearLayout |
| 45 | android:id="@+id/advanced_shortcut" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
menghanli | 5d7083a | 2020-03-04 21:47:57 +0800 | [diff] [blame] | 48 | android:minHeight="?android:attr/listPreferredItemHeightSmall" |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 49 | android:orientation="horizontal"> |
| 50 | |
| 51 | <ImageView |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="wrap_content" |
menghanli | 5d7083a | 2020-03-04 21:47:57 +0800 | [diff] [blame] | 54 | android:layout_gravity="center" |
| 55 | android:contentDescription="@null" |
| 56 | android:scaleType="centerCrop" |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 57 | android:src="@drawable/ic_keyboard_arrow_down" /> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 58 | |
| 59 | <TextView |
| 60 | android:layout_width="match_parent" |
| 61 | android:layout_height="match_parent" |
| 62 | android:gravity="center_vertical" |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 63 | android:paddingStart="12dp" |
menghanli | 36baf99 | 2020-01-20 21:25:53 +0800 | [diff] [blame] | 64 | android:text="@string/accessibility_shortcut_edit_dialog_title_advance" |
| 65 | android:textAppearance="?android:attr/textAppearanceListItem" |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 66 | android:textColor="?android:attr/colorAccent" |
| 67 | android:textSize="16sp" /> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 68 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 69 | </LinearLayout> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 70 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 71 | <include |
| 72 | android:id="@+id/triple_tap_shortcut" |
| 73 | layout="@layout/accessibility_edit_shortcut_component" |
| 74 | android:visibility="gone" /> |
Kevin Chang | 21fd0e8 | 2019-11-15 20:03:21 +0800 | [diff] [blame] | 75 | |
| 76 | </LinearLayout> |
| 77 | |
menghanli | fd51437 | 2020-03-05 21:57:48 +0800 | [diff] [blame] | 78 | </ScrollView> |