GithubHelp home page GithubHelp logo

crossgeeks / customnavigationbarsample Goto Github PK

View Code? Open in Web Editor NEW
106.0 106.0 37.0 9.33 MB

Navigation Bar Customization in Xamarin Forms

License: MIT License

C# 100.00%
android customization ios navigation navigationbar toolbar xamarin xamarin-forms

customnavigationbarsample's Issues

How Add ToolbarItem

Hi,
If i am Adding ToolBarItem in ContentPage the Customization will not work.How to solve thiz.
Please let me know

The Renderer Has Issues with xamarin Forms 2+

Severity Code Description Project File Line Suppression State
Warning CS0618 'NavigationPageRenderer.NavigationPageRenderer()' is obsolete: 'This constructor is obsolete as of version 2.5. Please use NavigationPageRenderer(Context) instead.' CustomNavigationBarSample.Android ~\CustomNavigationBarSample.Android\Renderers\CustomNavigationPageRenderer.cs 30 Active

Severity Code Description Project File Line Suppression State
Warning CS0618 'View.SetBackgroundDrawable(Drawable)' is obsolete: 'deprecated' CustomNavigationBarSample.Android ~\CustomNavigationBarSample.Android\Renderers\CustomNavigationPageRenderer.cs 451 Active

and more ...

How to implement it with PRISM.Forms?

I would like to thank you for this amazing custom navigation page.

However, I'm trying to implement on a project that is using PRISM.forms from Brian Lagunas. I'm not quite sure how to create a custom navigation page there.

Do you know if it is the same process or what should I consider for that? I'm using v7 of Prism.forms

Thanks in advance

No PropertyChanged Notifications from TabbedPage

Hello,
i have problems implementing CustomNavigationBar on TabbedPage on iOS. On Android everythings working fine but on iOS nothing works. I think it is because i don't get Notifications of Propertys Changing from the TabbedPage. - i.e. I can't change NavigationBar Background or Title BG.. Nothin unfortunately.

Greetings bluekuen

How set a Navigationbar Customization Globally?

How can i set a customization globally, instead of to do this in every ?

For exemple, i want set gradient background color on navigation on entire app, not just in page A or B on code behind page:

CustomNavigationPage.SetGradientColors(detailPage, Tuple.Create(startColorNavigationBar, endColorNavigationBar));
CustomNavigationPage.SetGradientDirection(detailPage, CustomNavigationPage.GradientDirection.RightToLeft);

How to add it to TabbedPage

Hello,

i love your navigation bar but i need it in a TabbedPage. Can you give me a hint how to do this because
i can't get it done.

Looking forward for your answer
bluekuen

Long titles move buttons out of page

I have a problem on ios with this custom renderer. When the titles is too long it pushes the buttons out of screen. I would like to have the title truncated instead but cannot find a way to handle that.
We have the title left aligned and we only use the renderer for iOS.
I have tried to find a way to measure the buttons but the widths is allways showing zero for me.
Do you have an idea for a solution or can you hint me were to look?
Thank you for helping.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.