简体   繁体   English

带有自定义选项卡菜单的底部标签栏

[英]Bottom Tabbed Bar With Customised Tab Menu

I am trying to get a Circular Icon of my Application Logo right in middle of tabbed bar menu's, I have 5 Tab Menu's where the third one i want it to look like this 我试图在标签栏菜单的中间找到我的应用程序徽标的圆形图标,我有5个Tab菜单,其中第三个我希望它看起来像这样

这个
trying to get this on Android & Ios 试图在Android和Ios上获得这个

i have tried custom rendering by removing the padding but still not able to get the desired result, i found one solution updating icon using SetTabIcons Method but this method does not get trigger when we are working with bottom tabbed bar in Android, please suggest me something which can help me to get this for both android & Ios 我已经尝试通过删除填充但仍然无法获得所需的结果自定义渲染,我发现一个解决方案使用SetTabIcons方法更新图标但是这个方法在我们使用Android的底部标签栏时没有触发,请建议我一些东西这可以帮助我得到这个Android和IOS

I understand your problem here, i am not sure how to get that big button overflowing the tabbar but however have a look at this 我在这里理解你的问题,我不知道如何让那个大按钮溢出标签栏但是看看这个

https://devlinduldulao.pro/how-to-create-bottom-navigation-bar-in-xamarin-forms/ https://devlinduldulao.pro/how-to-create-bottom-navigation-bar-in-xamarin-forms/

That's an open source project and the source code is linked at the bottom of page, you can tweak the animation (which i like very much) and use a customrenderer to render the center icon over a circle. 这是一个开源项目,源代码链接在页面底部,你可以调整动画(我非常喜欢)并使用自定义渲染器将中心图标渲染到圆圈上。

Have a look if that helps you in any way! 看看这对你有什么帮助! :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 什么决定Xamarin.Forms标签页中标签栏的颜色? - What decides the color of the tab bar in a Xamarin.Forms tabbed page? Xamarin选项卡式页面幻灯片选项卡栏,而不是“更多”按钮 - Xamarin tabbed page slide tab bar instead of “more” button 更改 xamarin 表单 ios 中“更多”选项卡部分中选项卡栏图标和文本的颜色 - Changing color of tabbed bar icon and text in "More" tab section in xamarin forms ios 在Xamarin Forms 3.1中,当使用带有4个选项卡的标签页时,如何防止Android上标签栏的“滑动”效果? - In Xamarin Forms 3.1, when using tabbed page with 4 tabs, how can I prevent “sliding” effect of tab bar on Android? 当标签栏(底部栏)项目在 xamarin 表单中点击时,如何仅打开弹出窗口而不是页面? - How to open popup only instead of page when tab bar (bottom bar) item tap in xamarin forms? 标签页和底部导航中的静态标题? - Static header in tabbed page and bottom navigation? Xamarin Forms 更改标签页中的标签标题 - Xamarin Forms Change Tab Title in Tabbed Page Xamarin 选项卡式页面内容除选项卡外 - Xamarin Tabbed Page Content Other than Tab 在选项卡内导航 在选项卡式页面内 - Navigation Within a Tab Inside a tabbed Page 在 MainPage 以外的地方添加标签栏 - Add tabbed bar somewhere other than MainPage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM