summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorDiego Perez <diegoperez@google.com>2016-05-24 14:40:34 +0100
committerDiego Perez <diegoperez@google.com>2016-05-24 18:27:35 +0100
commit790e5f6c1cab43fb377d86d3c9189a509b28b217 (patch)
tree8ba1fd030d080c709421a9c01bf3abe676731689 /tools/aapt2/diff/Diff.cpp
parentcb988096570de8af4883ae3bdea06c88f8fd235a (diff)
Workaround to display menus for AppCompat themes
Layoutlib currently does not implement menus for the support Toolbar. When it detects that an AppCompat theme is being used, it will try to use by default the support Toolbar which breaks the display of menus. This works around the problem by forcing layoutlib to use the framework toolbar in menu previews (regular activities won't display the menu if they use AppCompat). Bug: http://b.android.com/210946 Change-Id: Ic1d162c6d74119ef42895776c3bc3851a9549120
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions