两个不同的Android版本的CSS问题。(4.1.2和4.4.2)(CSS issue in 2 difference android versions.(4.1.2 and 4.4.2))

我面临的问题就像我的一个三星设备显示正确的CSS和另一个三星设备没有。

在右侧的图像(Android版本4.1.2)和左侧(Android版本4.4.2)4.1.2设备中的问题。

Android版本中的任何解决方案或任何BUG。

我也申请(.platform-android4_1 {})css但不能生效。

示例(标题和按钮较小,标记较小)

请帮帮我 。

谢谢

i am facing issue like one of my samsung device display correct css and another samsung device does not.

in right side of images(android version 4.1.2) and left side (android version 4.4.2) the problem in 4.1.2 device.

any solution for this or any BUG in android version.

i apply ( .platform-android4_1{} ) css also but can't effect.

example(Header and buttons are smaller,badges are small)

help me please .

thank you

最满意答案

大多数离子android开发人员都面临这个问题,因为不同设备上的Web视图环境不同。 解决方案是在项目中添加crosswalk插件。这使得您的Cordova / Ionic应用程序使用Crosswalk WebView而不是System WebView。 它使用应用程序修补自己的浏览器,因此它运行在每个设备上具有相同的特定环境。 因此每个设备上的应用程序行为都是相同的。 使用以下命令添加此插件: ionic plugin add cordova-plugin-crosswalk-webview 有关Crosswalk的更多信息,请参见链接: https : //crosswalk-project.org 阅读ion的这篇博文 ,了解它如何帮助您稳定和改善所有Android版本的混合应用程序的行为。

Most of ionic android developers face this issue because of different verions of web-views environment on different devices. Solution of this is to add crosswalk plugin to your project.This makes your Cordova / Ionic application use the Crosswalk WebView instead of the System WebView. It patches own browser with application so it runs in that having same specific environment on each device. So application behavior will be same on each device. add this plugin using following command: ionic plugin add cordova-plugin-crosswalk-webview More about Crosswalk, see link : https://crosswalk-project.org Read this blog post by ionic to understand how it helps you stablize and improve behavior of hybrid applications across all versions of android.

两个不同的Android版本的CSS问题。(4.1.2和4.4.2)(CSS issue in 2 difference android versions.(4.1.2 and 4.4.2))

我面临的问题就像我的一个三星设备显示正确的CSS和另一个三星设备没有。

在右侧的图像(Android版本4.1.2)和左侧(Android版本4.4.2)4.1.2设备中的问题。

Android版本中的任何解决方案或任何BUG。

我也申请(.platform-android4_1 {})css但不能生效。

示例(标题和按钮较小,标记较小)

请帮帮我 。

谢谢

i am facing issue like one of my samsung device display correct css and another samsung device does not.

in right side of images(android version 4.1.2) and left side (android version 4.4.2) the problem in 4.1.2 device.

any solution for this or any BUG in android version.

i apply ( .platform-android4_1{} ) css also but can't effect.

example(Header and buttons are smaller,badges are small)

help me please .

thank you

最满意答案

大多数离子android开发人员都面临这个问题,因为不同设备上的Web视图环境不同。 解决方案是在项目中添加crosswalk插件。这使得您的Cordova / Ionic应用程序使用Crosswalk WebView而不是System WebView。 它使用应用程序修补自己的浏览器,因此它运行在每个设备上具有相同的特定环境。 因此每个设备上的应用程序行为都是相同的。 使用以下命令添加此插件: ionic plugin add cordova-plugin-crosswalk-webview 有关Crosswalk的更多信息,请参见链接: https : //crosswalk-project.org 阅读ion的这篇博文 ,了解它如何帮助您稳定和改善所有Android版本的混合应用程序的行为。

Most of ionic android developers face this issue because of different verions of web-views environment on different devices. Solution of this is to add crosswalk plugin to your project.This makes your Cordova / Ionic application use the Crosswalk WebView instead of the System WebView. It patches own browser with application so it runs in that having same specific environment on each device. So application behavior will be same on each device. add this plugin using following command: ionic plugin add cordova-plugin-crosswalk-webview More about Crosswalk, see link : https://crosswalk-project.org Read this blog post by ionic to understand how it helps you stablize and improve behavior of hybrid applications across all versions of android.