small change to getDimensImposedByContainer logic -- should only scale down if both dimensions exceed their bounds
small change to getDimensImposedByContainer logic -- should only scale down if both dimensions exceed their bounds

dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android