{"id":20970464,"url":"https://github.com/crossgeeks/customnavigationbarsample","last_synced_at":"2025-07-26T21:07:01.098Z","repository":{"id":87069342,"uuid":"106742582","full_name":"CrossGeeks/CustomNavigationBarSample","owner":"CrossGeeks","description":"Navigation Bar Customization in Xamarin Forms","archived":false,"fork":false,"pushed_at":"2020-01-26T04:32:56.000Z","size":9554,"stargazers_count":106,"open_issues_count":3,"forks_count":35,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-02T17:37:55.667Z","etag":null,"topics":["android","customization","ios","navigation","navigationbar","toolbar","xamarin","xamarin-forms"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrossGeeks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-12T20:35:43.000Z","updated_at":"2024-08-05T10:12:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3997e403-e6a0-461a-879c-17817ca94cff","html_url":"https://github.com/CrossGeeks/CustomNavigationBarSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrossGeeks%2FCustomNavigationBarSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrossGeeks%2FCustomNavigationBarSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrossGeeks%2FCustomNavigationBarSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrossGeeks%2FCustomNavigationBarSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrossGeeks","download_url":"https://codeload.github.com/CrossGeeks/CustomNavigationBarSample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254131794,"owners_count":22020013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","customization","ios","navigation","navigationbar","toolbar","xamarin","xamarin-forms"],"created_at":"2024-11-19T03:58:31.405Z","updated_at":"2025-07-26T21:07:01.087Z","avatar_url":"https://github.com/CrossGeeks.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CustomNavigationBarSample\n\nNavigation Bar Customization in Xamarin Forms\n\nBlog post: http://www.xamboy.com/2017/12/06/navigation-bar-customization-in-xamarin-forms/\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"300\" height:\"700\" src=\"https://github.com/CrossGeeks/CustomNavigationBarSample/blob/master/gifs/android/android_full_video.gif\" title=\"Android\"/\u003e\n\u003c/p\u003e\n\n### Features\n\n- Title/Subtitle positioning\n- Subtitle\n- Bar Gradient Background\n- Title Font Customization\n- Subtitle Font Customization\n- Formatted Title\n- Formatted Subtitle\n- Image title\n- Bar Background\n- Bar Shadow\n- Bar Opacity\n- Title Margin\n- Title Padding\n- Title Border\n- Title Background\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"300\" height:\"700\" src=\"https://github.com/CrossGeeks/CustomNavigationBarSample/blob/master/gifs/ios/gradient_iOS.gif\" title=\"iOS\"/\u003e\n\u003cimg width=\"300\" height:\"700\" src=\"https://github.com/CrossGeeks/CustomNavigationBarSample/blob/master/gifs/ios/opacity_ios.gif\" title=\"iOS\"/\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"300\" height:\"700\" src=\"https://github.com/CrossGeeks/CustomNavigationBarSample/blob/master/gifs/ios/titleFontPosition_iOS.gif\" title=\"iOS\"/\u003e\n\u003cimg width=\"300\" height:\"700\" src=\"https://github.com/CrossGeeks/CustomNavigationBarSample/blob/master/gifs/ios/title_customization_.iOS.gif\" title=\"iOS\"/\u003e\n\u003c/p\u003e\n\n### Usage on a Xamarin Forms page\n\n```cs\n//Sets the title position to end\n\nCustomNavigationPage.SetTitlePosition(this, CustomNavigationPage.TitleAlignment.End);\n\n//Sets shadow for bar bottom\n\nCustomNavigationPage.SetHasShadow(this,true);\n\n//Gets if has shadow or not\n\nbool hasShadow = CustomNavigationPage.GetHasShadow(this);\n\n//Sets the title text font to Micro\nCustomNavigationPage.SetTitleFont(this, Font.SystemFontOfSize(NamedSize.Micro));\n\n//Sets the title color\nCustomNavigationPage.SetTitleColor(this,Color.Navy);\n\n//Sets bar background\nCustomNavigationPage.SetBarBackground(this, Device.RuntimePlatform == Device.iOS ? \"monkeybackground.jpg\": \"monkeybackground\");\n\n//Sets bar background opacity\nCustomNavigationPage.SetBarBackgroundOpacity(this,0.6f);\n```\n\n### Future\n\n- UWP and other platforms support\n- Support Badges\n- Kerning\n- Back Button Customization\n- Toolbar Items Customization\n- Buttons/Picker as title\n- Rotated Title\n- Animations\n- Traslucent Bar\n- Collapsable Bar\n- Bar Templates\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossgeeks%2Fcustomnavigationbarsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossgeeks%2Fcustomnavigationbarsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossgeeks%2Fcustomnavigationbarsample/lists"}