android: Dynamically resize ItemChooserDialog

This change adds a layout change listener to the ItemChooserDialog view
so that it renders correctly when the layout changes while it's open.

Bug: 616227
Change-Id: I100fcac4d0bddf51dedd5ab1b3b99fa6936709f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1604002
Reviewed-by: David Trainor <dtrainor@chromium.org>
Commit-Queue: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org>
Cr-Commit-Position: refs/heads/master@{#658746}
1 file changed