Update the illustration of NFC page.

- NFC uses the old component to display the illustration.
  Use the IllustrationPreference to display the illustration.

Fix: 192630194
Test: robotest and see the UI
Change-Id: Idcae247e0af039749dca072dd7fa44839b0b787d
This commit is contained in:
Stanley Wang
2021-07-02 15:39:29 +08:00
parent 1a77fce131
commit 634f3d6655

View File

@@ -24,10 +24,10 @@
android:title="@string/nfc_main_switch_title"
settings:controller="com.android.settings.nfc.NfcPreferenceController"/>
<com.android.settingslib.widget.LayoutPreference
<com.android.settingslib.widget.IllustrationPreference
android:key="nfc_detection_point"
android:selectable="false"
android:layout="@layout/nfc_detection_point"
settings:searchable="false"
settings:lottie_rawRes="@drawable/nfc_detection_point"
settings:controller="com.android.settings.nfc.NfcDetectionPointController"/>
<SwitchPreference