diff options
author | Clara Bayarri <clarabayarri@google.com> | 2015-02-17 15:31:50 +0000 |
---|---|---|
committer | Clara Bayarri <clarabayarri@google.com> | 2015-02-19 22:42:20 +0000 |
commit | 399b51397b98f9e225410adf11b80c8b9c4b1a91 (patch) | |
tree | 7fa86894f17c41da7a2218dadb642c04fc955546 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ed2a54cfd336bb935f281c04509ecd48c8cf116d (diff) |
Floating toolbars: Encapsulate StandaloneActionMode view creation.
This CL defines a new interface to be used by ActionModeWrapper.
This allows each client to inject a different primary ActionMode to
the wrapper and keep view creation code next to ActionMode
creation.
The interface method is only called when the wrapper actually
knows that will be the used type, avoinding unnecessary view
creations.
Things pending after this CL:
- Correct handling of ActionModes created by
callback.onWindowStartingActionMode(). This includes all current usages
in an existing ActionBar, as it is handled by Activity. In the current
state, we do not intercept these ActionModes and hence cannot change the
representation.
- Representing the floating type
- Supporting two ActionModes in parallel in DecorView, one of each type
Change-Id: Ic38e209877c3876161d8dd56902e25b51fbe40b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions