【问题标题】:Display alert popup has white font color for options显示警报弹出窗口的选项具有白色字体颜色
【发布时间】:2017-11-03 17:00:35
【问题描述】:

我有显示警报功能的问题。选项文本不可见。我可以点击它,但文字不可见,如图所示

它背后的代码是:

public async void AlertChange()
    {
        bool answer;

        answer = await DisplayAlert("test?", "Test question", "Yes", "No");

        if(answer)
        {
           .
           .
           . 
           .
        }

    }

【问题讨论】:

    标签: c# .net xamarin xamarin.forms popup


    【解决方案1】:

    通过更改 styles.xml 中的 colorAccent 来完成

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-08-03
      • 1970-01-01
      • 2012-01-29
      • 2020-05-03
      • 1970-01-01
      • 2013-07-04
      • 1970-01-01
      • 2020-06-05
      相关资源
      最近更新 更多