Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1eba90f5 authored by Peter_Liang's avatar Peter_Liang Committed by PETER LIANG
Browse files

Update the material next style for the banner of Auto Click.

Action:
Apply the illustrationPreference from SettingsLib to the banner.

Bug: 190585192
Bug: 192413239
Test: manual test
Change-Id: I7d78804b4fa89735edfb73f01f31771821bcd8c2
parent d8cd67b5
Loading
Loading
Loading
Loading
+0 −30
Original line number Diff line number Diff line
<?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.
  -->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ImageView
        android:layout_width="match_parent"
        android:layout_height="@dimen/autoclick_preview_height"
        android:contentDescription="@null"
        android:scaleType="fitCenter"
        android:src="@drawable/accessibility_dwell"/>

</FrameLayout>
+4 −5
Original line number Diff line number Diff line
@@ -19,14 +19,13 @@
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/accessibility_autoclick_preference_title">

    <com.android.settingslib.widget.LayoutPreference
        android:key="accessibility_autoclick_preview"
        android:layout="@layout/accessibility_autoclick_preview"
    <com.android.settingslib.widget.IllustrationPreference
        android:key="accessibility_autoclick_banner"
        android:persistent="false"
        android:selectable="false"
        android:title="@string/summary_placeholder"
        settings:allowDividerBelow="true"
        settings:searchable="false" />
        settings:searchable="false"
        settings:lottie_rawRes="@drawable/accessibility_dwell" />

    <com.android.settingslib.widget.RadioButtonPreference
        android:key="accessibility_control_autoclick_default"