From 8f774b908f7658de5dff31ec9333b7278e1f051e Mon Sep 17 00:00:00 2001 From: Stanley Wang Date: Wed, 30 Jun 2021 16:57:04 +0800 Subject: [PATCH] Update Adaptive brightness page. - Use the IllustrationPreference widget and update the new illustration. Fix: 192415034 Test: robotest and see the UI Change-Id: I2feb3faab0abd2fa0fc36b8bb94f6b02ec3f7dd7 --- res/raw/lottie_adaptive_brightness.json | 0 res/xml/auto_brightness_detail.xml | 8 +++----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 res/raw/lottie_adaptive_brightness.json diff --git a/res/raw/lottie_adaptive_brightness.json b/res/raw/lottie_adaptive_brightness.json new file mode 100644 index 00000000000..e69de29bb2d diff --git a/res/xml/auto_brightness_detail.xml b/res/xml/auto_brightness_detail.xml index a7c85e8759b..0584d776f00 100644 --- a/res/xml/auto_brightness_detail.xml +++ b/res/xml/auto_brightness_detail.xml @@ -20,12 +20,10 @@ xmlns:settings="http://schemas.android.com/apk/res-auto" android:title="@string/auto_brightness_title"> - + settings:searchable="false" + settings:lottie_rawRes="@raw/lottie_adaptive_brightness"/>