commit | 5fbb0cccad866fe73e9deb51204293c48e7f8edb | [log] [tgz] |
---|---|---|
author | Shamali P <shamalip@google.com> | Tue Feb 06 23:05:35 2024 +0000 |
committer | Shamali P <shamalip@google.com> | Thu Feb 15 18:32:21 2024 +0000 |
tree | be6478a2250eb9d0e3e28240955c7049b291a5f3 | |
parent | 933a05a2beb60ade74461d5b92ee3aa004e5d433 [diff] |
Use derived padding instead of static 300dp for large portrait displays In tablet, portrait mode, a padding of 300dp was applied to make it less elongated, but that doesn't scale well across different devices. So, we use 1/6th of height as the additional padding. This fixes the existing logic. Bug: 318410881 Bug: 315055849 Flag: N/A Test: Screenshot update in cl chain. Change-Id: Ia9cfe481131f086b66f625069cbf9a7c0343c2c9