diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2023-01-21 04:51:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 04:51:44 +0000 |
commit | c42f18369672769b14c2e8b2ec332dec005c446c (patch) | |
tree | 13801c57305a5acba97dec21eec0233ec639854f /app/src/main/res/drawable/flag_italy.xml | |
parent | aaa55a6af96c449e15fabf10e94abc6845c7d2a6 (diff) | |
download | infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar.gz infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar.bz2 infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar.lz infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar.xz infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.tar.zst infinity-for-reddit-c42f18369672769b14c2e8b2ec332dec005c446c.zip |
Disable aspect ratio logic when it is negative (#1296)
Gallery can set aspect ratio to -1 which would result in negative measured height. It seem that Android treats dimensions as unsigned numbers, so negative numbers actually become huge positive numbers resulting in "infinite" height.
It should be noted that this change allows to disable aspect ratio logic even when some dimension is set to `wrap_content`.
Diffstat (limited to 'app/src/main/res/drawable/flag_italy.xml')
0 files changed, 0 insertions, 0 deletions