diff options
| author | Adam Powell <adamp@google.com> | 2014-07-19 11:57:21 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2014-07-19 11:57:21 -0700 |
| commit | eb97f473fc075c91760c2b657a7014681cd6f3ce (patch) | |
| tree | 7c84066125bc1039fd76f884efc6e044b4a59b46 /docs/html/sdk/api_diff/11/changes | |
| parent | 00abaa7407c16eb5711e93f8b598ea5ee4312c6a (diff) | |
Adapt ActionBar.LayoutParams to Toolbar.LayoutParams on demand
When Toolbar is acting in the role of an action bar it needs to handle
the case where app code calls setLayoutParams on a custom view with an
ActionBar.LayoutParams instance. Run the newly set LayoutParams
through the check/generate routine normally performed when adding a
child view whenever LayoutParams are set on an existing child to
correct for it.
This might not be a bad thing to generalize someday but it would make
for very confusing compatibility behavior when running code that
was written to expect it on older platform versions.
Bug 16219488
Change-Id: I568a335fe8ebbbaa666690d1f0e95f313abd2f1e
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions
