Fix the menu alignment for the three button menu.
commit003cb9e92015a5b9c1fa08a7cc8eac2be037a219
authortedchoc <tedchoc@chromium.org>
Fri, 3 Oct 2014 22:55:10 +0000 (3 15:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 3 Oct 2014 22:55:34 +0000 (3 22:55 +0000)
tree5edbd93798a31fa5317324168a55e68cdecb9018
parenteca06b3bf2fa313e2eb125a884e5179024cfe6dd
Fix the menu alignment for the three button menu.

Also, fixes a crash for an index out of bounds check.

Also also, adds two button layout for when two icons are shown in the top row.

BUG=416552

Review URL: https://codereview.chromium.org/608283004

Cr-Commit-Position: refs/heads/master@{#298110}
chrome/android/java/res/layout/two_button_menu_item.xml [new file with mode: 0644]
chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java