commit | e39af763e7bf598306feab4a3d2e1164c9f0421a | [log] [tgz] |
---|---|---|
author | linyuh <linyuh@google.com> | Fri Oct 27 14:19:14 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Mon Oct 30 08:27:37 2017 -0700 |
tree | 21463fedda5df8976504b2bba4e04e01de21a773 | |
parent | 34582db05d06eb76c88ca95452199ec728c9bee3 [diff] |
Make dialpad key alignment responsive to font size. In portrait mode, we surround the icon and letters with a linear layout so that we can adjust its height. In landscape mode, we add a horizontal placeholder to each key's layout so that we can adjust its width. This approach was put forward by Ryan Oldenburg (roldenburg@). Bug: 30215380 Test: Manual PiperOrigin-RevId: 173717443 Change-Id: I9b60657ca20d371a60c303a9683578663fc28a09