c# - 无法启动应用程序, "transparent"错误

标签 c# android xamarin

我尝试在 Xamarin 上启动 android 应用程序,但出现此错误:

不允许使用字符串类型(在 'background' 中值为 'transparent')

我能做什么?我在 ImageButton 上设置了“透明”

最佳答案

'transparent' 替换为 "#00000000" 使用原始 RGB 颜色值应该可行

关于c# - 无法启动应用程序, "transparent"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31769450/

相关文章:

c# - 在表之间迁移数据的整洁方式?

c# - 将 ImageMagick 和 GhostScript 与 nuget 结合使用

java - 如果以编程方式在 LandScape 中更改方向,则 OverridePendingTransition 不起作用

MVVMCross 绑定(bind)小数到 UITextField 删除小数点

c# - 为什么\b 不匹配使用 .net 正则表达式的单词

c# - WCF 中的 OperationContext.Current 和 InstanceContextMode

android - 在创建 Realm 配置之前, Realm 数据库/应用程序在启动/调用 realm.init(context) 时崩溃

android - 在 Android 上使用 MapDB 的最佳实践

android - 在 android 中 2 天后使 UIL 缓存图像过期

c# - 加载程序集 Xamarin.Android.Support.v4 时出现异常