aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/drawable/flag_india.xml
diff options
context:
space:
mode:
authorSergei Kozelko <KozelkoS@yandex.ru>2023-01-21 04:51:44 +0000
committerGitHub <noreply@github.com>2023-01-21 04:51:44 +0000
commitc42f18369672769b14c2e8b2ec332dec005c446c (patch)
tree13801c57305a5acba97dec21eec0233ec639854f /app/src/main/res/drawable/flag_india.xml
parentaaa55a6af96c449e15fabf10e94abc6845c7d2a6 (diff)
downloadinfinity-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 '')
0 files changed, 0 insertions, 0 deletions