diff options
author | Marie Matheson <mmatheson@google.com> | 2021-05-05 17:02:31 +0000 |
---|---|---|
committer | Marie Matheson <mmatheson@google.com> | 2021-05-18 15:29:41 +0000 |
commit | 11ec9ba02f64f6fde8858aa4363c167302d3e22b (patch) | |
tree | 7e1579a3ac390e7a77adae70e24f27d464fffb22 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6fb4729ecf0bac375f8ef5d2260c4efeb0e802a7 (diff) |
Updates BannerMessagePreference to new style
Updates the style of the BannerMessagePreference in v31 and adds support
for the following new functionality (all optional):
- Use one of three attention level themes: high, medium, and low
(default: high)
- Add an icon (default: alert icon)
- Subtitle (default: hidden)
- Dismiss button (default: hidden)
Icon, subtitle, and theme can also be set via xml attrs.
Adds support for creating a BannerMessage without a title.
Test: make -j80 RunSettingsLibRoboTests
Test: Manually tested all configurations
Bug: 181764215
Change-Id: I73bfc5225d83057e423b6a9d77a6277a656d3b90
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions