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] Fix background image repeat behaviours #2957

Merged
merged 1 commit into from
May 21, 2019

Conversation

almedina-ms
Copy link
Contributor

Fixes #2947

The issue came with the "hackish" trick to avoid containers to grow if a background image was specified even if the background was smaller, there I was adding an empty image of size 1x1 but that overrode the repeat behaviour that was using the actual set background image

Also found out that the incomplete images were not being drawn so I fixed that too

How verified

The mobile app was run and this are the results

AdaptiveCard.BackgroundImage.FillMode.json
Screenshot_2019-05-21-11-01-18

AdaptiveCard.BackgroundImage.FillMode.Repeat.json
Screenshot_2019-05-21-11-01-23

AdaptiveCard.BackgroundImage.FillMode.RepeatHorizontally.json
Screenshot_2019-05-21-11-01-35

AdaptiveCard.BackgroundImage.FillMode.RepeatVertically.json
Screenshot_2019-05-21-11-01-44

Column.BackgroundImage.json
Screenshot_2019-05-21-11-02-12

Container.BackgroundImage.json
Screenshot_2019-05-21-11-02-31

Copy link
Member

@paulcam206 paulcam206 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@almedina-ms almedina-ms merged commit fa69d5f into master May 21, 2019
@almedina-ms almedina-ms deleted the user/almedina-ms/AndroidFixRepeatBackground branch July 31, 2019 20:02
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][BugBash] Background Image FillMode Issue
2 participants