Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Update Input.Text rendering for stretched multilined elements #6157

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

almedina-ms
Copy link
Contributor

@almedina-ms almedina-ms commented Aug 3, 2021

Related Issue

Fixes #5349

Description

Adds extra case validation for the special case of an Input.Element having the Multiline property set to true and the Height set to stretch. The changes deal with using setMinLines instead of setLines and updating the underlying LayoutParams height to match the parent container's height.

Sample Card

Included in the bug description

How Verified

The fix was verified by rendering the linked card in the mobile app

Microsoft Reviewers: Open in CodeFlow

@almedina-ms almedina-ms merged commit 8efb509 into main Aug 5, 2021
@almedina-ms almedina-ms deleted the user/almedina-ms/Android_MultilineStretchFix branch August 5, 2021 17:51
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Multiline Input.Text elements should stretch when height is set to stretch
2 participants