Improve battery tips cards.
- Updated Card UI - Set thumb-up/down feedback preference to be GONE - Add basic button action [Screenshots] https://screenshot.googleplex.com/925MEzRyUCxZCi8 Test: manual Change-Id: I356648d0fcec5dd1ea724297187ecafb5be55fd8 Merged-In: I356648d0fcec5dd1ea724297187ecafb5be55fd8 Bug: 291689623
This commit is contained in:
@@ -1409,4 +1409,25 @@
|
||||
<integer-array name="network_mode_3g_deprecated_carrier_id" translatable="false">
|
||||
</integer-array>
|
||||
|
||||
<!-- The following 4 arrays are for power anomaly tips card. Please keep them the same size. -->
|
||||
<string-array name="power_anomaly_keys" translatable="false">
|
||||
<item>adaptive_brightness</item>
|
||||
<item>screen_timeout</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="power_anomaly_titles">
|
||||
<item>Turn on adaptive brightness to extend battery life</item>
|
||||
<item>Reduce screen timeout to extend battery life</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="power_anomaly_main_btn_strings">
|
||||
<item>@string/battery_tips_card_action_button</item>
|
||||
<item>@string/battery_tips_card_action_button</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="power_anomaly_dismiss_btn_strings">
|
||||
<item>@string/battery_tips_card_dismiss_button</item>
|
||||
<item>@string/battery_tips_card_dismiss_button</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
@@ -9651,23 +9651,14 @@
|
||||
<string name="app_battery_usage_summary">Set battery usage for apps</string>
|
||||
|
||||
<!-- Label of action button in battery tips card [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_card_action_button" translatable="false">Optimize</string>
|
||||
<string name="battery_tips_card_action_button" translatable="false">View Settings</string>
|
||||
|
||||
<!-- Label of dismiss button in battery tips card [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_card_dismiss_button" translatable="false">Got it</string>
|
||||
|
||||
<!-- Feedback card message in battery tips card [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_card_feedback_info" translatable="false">Is this message helpful?</string>
|
||||
|
||||
<!-- Title of battery tips: adaptive brightness [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_adaptive_brightness_title" translatable="false">Turn on adaptive brightness to extend battery life</string>
|
||||
|
||||
<!-- Summary of battery tips: adaptive brightness [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_adaptive_brightness_summary" translatable="false">It will help reduce your daily battery drain by 10%</string>
|
||||
|
||||
<!-- Title of battery tips: reduce screen timeout [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_screen_timeout_title" translatable="false">Reduce screen timeout to extend battery life</string>
|
||||
|
||||
<!-- Summary of battery tips: reduce screen timeout [CHAR LIMIT=NONE] -->
|
||||
<string name="battery_tips_screen_timeout_summary" translatable="false">It will help reduce your daily battery drain by 10%</string>
|
||||
|
||||
<!-- Filter title for battery unrestricted[CHAR_LIMIT=50]-->
|
||||
<string name="filter_battery_unrestricted_title">Unrestricted</string>
|
||||
|
||||
|
Reference in New Issue
Block a user