Improve the layout of the Add to Home screen dialog
commit56b7f917659924c5cf755e9bb907d80e82faa5a0
authordfalcantara <dfalcantara@chromium.org>
Sat, 9 May 2015 15:53:06 +0000 (9 08:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Sat, 9 May 2015 15:53:27 +0000 (9 15:53 +0000)
tree08254b25a5cc1bf7435f29055a3e638668621c29
parent367538330c78771d7a717bee8dc0b3e7461a87a9
Improve the layout of the Add to Home screen dialog

Gets rid of wonky padding around the icon, aligns the center of the text with the center of the icon.  Done this way to deal with the fact that Android doesn't seem to apply a background Drawable to the View until later, which then changes the bottom padding of the textview and moves the text upward.

BUG=457424

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

Cr-Commit-Position: refs/heads/master@{#329047}
chrome/android/java/res/layout/add_to_homescreen_dialog.xml
chrome/android/java/src/org/chromium/chrome/browser/webapps/AddToHomescreenDialog.java