0

为什么我的列表视图在 android ICS 上像这样http://imageshack.us/photo/my-images/694/gu9.png/

但没有像这样在 Gingerbread 上损坏http://imageshack.us/photo/my-images/405/unx.png/

我使用 phonegap 2.2 和 jquerymobile 1.2,

请帮忙.. :(

谢谢..

已编辑我使用 phonegap 2.2 和这个 AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.clientapp"
    android:versionCode="1"
    android:versionName="1.0" >
<supports-screens
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:resizeable="true"
    android:anyDensity="true"
    />
    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="16" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/pathing"
        android:label="@string/app_name"
        android:theme="@style/AppTheme"
        android:debuggable="true"
         android:configChanges="orientation|keyboardHidden"  >
        <activity
            android:name="com.example.clientapp.MainActivity"
            android:label="@string/app_name"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity 
    android:name="org.apache.cordova.DroidGap" 
    android:label="@string/app_name" 
    android:configChanges="orientation|keyboardHidden"> 
    <intent-filter></intent-filter> 
</activity>
    </application>


    <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
</manifest>

更新:已解决:)

4

1 回答 1

0

我的代码错了,这是我的代码不正确

$('#checkedList').append('<li id="'+item.id_wahana+'" class="listClick"><a id="'+item.id_wahana+'" href="#nextWahana"  data-role="button" data-transition="slidefade" data-inline="true"<span class="ui-li-count">'+item.jumlah_antrian+'</span>'+item.nama+'</a></li>'); 

然后我在之前添加标签“>”。我的问题解决了。谢谢

于 2013-06-22T16:26:11.277 回答