진행률 표시 줄이 4.0 이상인 안드로이드 버전에 표시되지 않습니다. 2.2 이상에서는 제대로 작동하지만 내 모바일 버전 4.1 버전에서는 표시되지 않는 이유는 무엇입니까? 나는 백그라운드에서 getDataTask extends AsyncTask
을 사용하여 url로부터 데이터를 얻고있다. ProgressBar는 안드로이드 버전 2.2에서 4.0까지 볼 수 있지만 4.1에서는 보이지 않는 이유는 무엇입니까 ?? 문제는 당신이 당신의 매니페스트 파일로 진행 막대를 추가하지해야한다는 것입니다진행률 표시 줄이 안드로이드 버전 4.1 이상에 표시되지 않음
<ProgressBar
android:id="@+id/prgLoading"
style="@android:style/Widget.ProgressBar.Inverse"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingTop="100dp" />`
내 매니페스트 파일
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.schoollunchapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"/>
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@drawable/imagelogostartup"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<!-- <uses-library android:name="com.google.android.maps"/> -->
<activity
android:name="com.schoollunchapp.SplashScreen" android:screenOrientation="portrait"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name= ".HomeMenu" android:screenOrientation="portrait" ></activity>
</application>
</manifest>
진행률 표시 줄이 안드로이드 4.1에 표시되지 않습니다. 2.3에서 wrk 괜찮 았어 – user2806157
내 코드를 편집 해주세요. 4.2에서이 회 전자 쇼를 확인하십시오. 4.2 오프 시뮬레이터에 있지만 실제 장치의 4.1 버전에는 표시하지 마십시오. 이유는 무엇입니까 ?? – user2806157
진행률 표시 줄은 4.1 이상에서 작동합니다. 이 문제를 재현하려면 세부 정보를 추가하십시오. – laalto