Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 背景附件:固定不工作_Android_Cordova_Background_Attachment_Fixed - Fatal编程技术网

Android 背景附件:固定不工作

Android 背景附件:固定不工作,android,cordova,background,attachment,fixed,Android,Cordova,Background,Attachment,Fixed,我正在使用后台附件:修复我的phonegap应用程序。 它在浏览器上工作,但在我的android手机上不工作 没人知道问题出在哪里 提前感谢。这是一个bug,我最终使用了背景附件:local并手动设置背景位置,使用-left px,-top px,然后计算背景大小的缩放宽度,以匹配家长的背景 它看起来很棒,但是太多的计算和黑客行为不合我的口味大多数android版本都不支持它现在解决方案是什么?我怎么解决它?没有解决方案,它不再受支持了,你必须找到另一种方法来做同样的效果,或者根本不用它。你知道

我正在使用后台附件:修复我的phonegap应用程序。 它在浏览器上工作,但在我的android手机上不工作

没人知道问题出在哪里


提前感谢。

这是一个bug,我最终使用了
背景附件:local
并手动设置
背景位置
,使用
-left px
-top px
,然后计算
背景大小
的缩放宽度,以匹配家长的
背景


它看起来很棒,但是太多的计算和黑客行为不合我的口味

大多数android版本都不支持它现在解决方案是什么?我怎么解决它?没有解决方案,它不再受支持了,你必须找到另一种方法来做同样的效果,或者根本不用它。你知道另一种方法来做同样的效果吗?提前谢谢。不,我从未使用过背景附件:fixedSee--