Add footer to app usage page

- Add a footer to present the description text, will present specific text once this app is optimized or unrestricted only
 Screenshots:
   https://screenshot.googleplex.com/4HZGQU6SDni3PdR.png
   https://screenshot.googleplex.com/9gLSgftmaYuZepf.png
   https://screenshot.googleplex.com/55masP3VoAtAFMo.png

Bug: 178197718
Test: make SettingsRoboTests
Change-Id: Iced0fa591faf72874e2e3dff942122c90d35a4e7
This commit is contained in:
Wesley.CW Wang
2021-04-16 23:29:23 +08:00
committed by Wesley Wang
parent 5083d82df7
commit 8ca6f31716
3 changed files with 76 additions and 0 deletions

View File

@@ -87,4 +87,11 @@
</PreferenceCategory>
<com.android.settingslib.widget.FooterPreference
android:order="100"
android:key="app_usage_footer_preference"
android:title="@string/manager_battery_usage_footer"
android:selectable="true"
settings:searchable="false"/>
</PreferenceScreen>