简体   繁体   English

如何在PhoneGap,jQuery Mobile中使UI更好?

[英]How to make UI in PhoneGap, jQuery Mobile good?

I'm new to PhoneGap. 我是PhoneGap的新手。 I created a sample application using ponegap and jquery mobile which contain some button and few other form elements. 我使用ponegap和jquery mobile创建了一个示例应用程序,其中包含一些按钮和少量其他表单元素。 While I installed in my mobile(Samsung Ace), i feel the UI of button and few other form elements are not looking good. 当我将其安装在手机(Samsung Ace)中时,我感到按钮的UI和其他一些表单元素看起来不太好。 Cornering in button is not perfect 按钮转弯并不完美 屏幕截图 .
I'm using the following 我正在使用以下

  1. cordova-2.9.0.jar 科尔多瓦-2.9.0.jar
  2. jquery-2.0.3.min.js jQuery的2.0.3.min.js
  3. jquery.mobile-1.3.2.min.js jquery.mobile-1.3.2.min.js
  4. jquery.mobile-1.3.2.min.css jquery.mobile-1.3.2.min.css

    Am i missing anything? 我有什么想念的吗? Please help me.How to make the UI look and feel good? 请帮助我。如何使用户界面外观和感觉良好?

Thanks 谢谢

To make UI in Phonegap, jQuery Mobile is good, but not the best. 为了在Phonegap中创建UI,jQuery Mobile是好的,但不是最好的。 If You want the best result in performance and UI then you'll have to use Sencha Touch . 如果您想在性能和UI上获得最佳结果,则必须使用Sencha Touch Please visit this Link it may be helpful to you. 请访问此链接,这可能会对您有所帮助。

I would suggest to use ThemeRoller to get your UI in jQuerymobile framework 我建议使用ThemeRollerjQuerymobile框架中获取用户界面

Check the following link 检查以下链接

http://jquerymobile.com/themeroller/index.php http://jquerymobile.com/themeroller/index.php

Speaking for myself, I've used jQuery Mobile with Phonegap, and I'm fairly happy with it. 就我自己而言,我已经将jQuery Mobile与Phonegap结合使用了,对此我感到非常满意。 I don't think the problem you're having with the corners is jquery mobile, but rather related to whatever emulator program you're using; 我认为您遇到的问题不是jquery mobile,而是与您使用的任何模拟器程序有关; they work fine for me on various resolutions on my laptop, tablet, s3 & iphone, even when I zoom out/in between 25% and 500% on chrome using ripple . 它们对我在笔记本电脑,平板电脑,s3和iphone上的各种分辨率下都可以正常工作,即使我使用波纹在chrome上缩小/放大25%至500%时也是如此。

To make a nicer interface, you can use jQuery Mobile's ThemeRoller . 为了创建更好的界面,您可以使用jQuery Mobile的ThemeRoller

jQuery Mobile框架对于phonegap应用程序并不重要,您可以使用常规HTML和CSS(也包括CSS3)来自定义自己的样式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM