Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Shell,Android] Allow transparent background on Shell Header #13322

Merged
merged 6 commits into from
Jan 15, 2021
Merged

Conversation

rmarinho
Copy link
Member

@rmarinho rmarinho commented Jan 7, 2021

Description of Change

Allow transparent Shell Header.

Issues Resolved

API Changes

None

Platforms Affected

  • Android

Behavioral/Visual Changes

Header should be transparent and not white by default

Before/After Screenshots

Before
image

After
image

Not applicable

Testing Procedure

  • Go to the Shell FlyoutBackgroundTests issue page
  • Click toggle Footer/header transparent
  • Make sure image is below the header

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@rmarinho
Copy link
Member Author

rmarinho commented Jan 7, 2021

Any ideas how to UITest this @PureWeen ?

@rmarinho rmarinho added this to To do in vNext+1 (5.0.0) via automation Jan 8, 2021
@rmarinho rmarinho moved this from To do to In Review in vNext+1 (5.0.0) Jan 8, 2021
@rmarinho rmarinho added this to In progress in v5.0.1 via automation Jan 8, 2021
@rmarinho rmarinho moved this from In progress to Review in progress in v5.0.1 Jan 8, 2021
@rmarinho rmarinho removed this from Review in progress in v5.0.1 Jan 8, 2021
@rmarinho rmarinho changed the title [Shell] Allow transparent background on Shell Header [Shell,Android] Allow transparent background on Shell Header Jan 14, 2021
}

protected virtual void LayoutView(double x, double y, double width, double height)
{
View?.Layout(new Rectangle(x, y, width, height));
_shellViewRenderer.LayoutView(width, height);
Copy link
Contributor

Choose a reason for hiding this comment

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

All this change does is makes sure that UpdateElevation is called when the header is created. This allows the user to set the flyout header elevation via the platform specific

@rmarinho rmarinho merged commit 2fa7165 into 5.0.0 Jan 15, 2021
vNext+1 (5.0.0) automation moved this from In Review to Done Jan 15, 2021
@rmarinho rmarinho deleted the fix_13305 branch January 15, 2021 10:46
@samhouts samhouts added this to the 5.0.0 milestone Jan 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
4 participants