【问题标题】:Xamarin forms Frame not working in androidXamarin 窗体框架在 android 中不起作用
【发布时间】:2018-04-30 05:00:42
【问题描述】:

我需要这样的设计....在 iOS 中实现但在 android 中不起作用

请帮帮我

问候..

【问题讨论】:

  • 分享您在 iOS 和 Android 上的代码和结果(屏幕截图)
  • 在默认的android活动标签中已经有一行了。
  • 您只需要根据需要编辑选项卡 XML,例如更改活动颜色。或者为android创建一个自定义渲染器
  • 我需要阴影而不是线条

标签: xamarin xamarin.forms xamarin.android


【解决方案1】:

【讨论】:

  • 它显示标签页不是我的要求,我想在底部菜单上方显示阴影..
  • 然后会看到它可能需要一些时间。
  • 如何在某个页面隐藏这个底栏
【解决方案2】:

您需要为底部导航栏安装 Nuget 包。 这将有助于 https://www.youtube.com/watch?v=Cp_2F621Az0

【讨论】:

    【解决方案3】:

    在 Visual Studio 2017 中。

    我也有同样的问题。 Frame hasShadow 属性在 Xamarin.Forms 的 android 项目中不起作用。

    所以我通过做以下事情来解决它。

    1 - Update VS, xamarin SDK's.
    2 - Create new project with default template.
    3 - added install all the NuGet require packages.
    4 - After installing all the packages i run this command on pakage console terminal "Update-Package".  
    5 - Copy all the source code from the previous project.
    

    仅此而已。 问题已解决。

    【讨论】:

    • 我去看看
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-12
    • 2015-01-08
    • 1970-01-01
    • 2011-04-28
    相关资源
    最近更新 更多