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

When not in use shell, no way to change the animation effect of the NavigationPage 。 #19579

Closed
cwj19851010 opened this issue Dec 24, 2023 · 2 comments
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@cwj19851010
Copy link

Description

when i use shell, it can't designed the effect of immersive statusbar in android ,because the control cannot be placed at the top,see #19549 ,when i use navigation page, no way to change the animation effect of the navigationpage in android,.

Do you have a perfect solution??

Is this really a released product????????

Isn't the excessive animation translation and immersive status bar of Android's a normal requirement? Why is it so difficult to set up

in xamarin it works like this.
public class AppnNavigationPageRenderer: NavigationPageRenderer
{
public AppnNavigationPageRenderer(Context context):base(context)
{

 }



 protected override void SetupPageTransition(AndroidX.Fragment.App.FragmentTransaction transaction, bool isPush)
 {
     if (isPush)
         transaction.SetCustomAnimations( Exhibition.Resource.Animator.slide_in_from_right, Exhibition.Resource.Animator.slide_out_to_left);
     else
         transaction.SetCustomAnimations(Exhibition.Resource.Animator.slide_in_from_left, Exhibition.Resource.Animator.slide_out_right);
 }



 protected override Task<bool> OnPushAsync(Page view, bool animated)
 {
     return base.OnPushAsync(view, animated);
 }

 protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
 {
     base.OnLayout(changed, left, top, right, bottom);
 }

}

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@cwj19851010 cwj19851010 added the t/bug Something isn't working label Dec 24, 2023
@PureWeen PureWeen added the area-controls-shell Shell Navigation, Routes, Tabs, Flyout label May 31, 2024
@jsuarezruiz jsuarezruiz added the s/needs-repro Attach a solution or code which reproduces the issue label Jun 6, 2024
Copy link
Contributor

Hi @cwj19851010. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Jun 11, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@github-actions github-actions bot locked and limited conversation to collaborators Jul 17, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/android 🤖 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants