Android Device Is Not Showing The Background Image
I have created a project, targeting android 4.4 - API Level 19, as suggested by eclipse. Anyways, on the emulator everything looks perfect - here is a screenshot: The problems com
Solution 1:
Try with a lower-resolution background. The one you are trying might be too big. You can check that in your logcat.
Solution 2:
In your logcat you will see a message like this:
Bitmap too large to be uploaded into a texture (2496x4437, max=4096x4096)
The max is 4096x4096
which is the value GL_MAX_TEXTURE_SIZE
for the version of OpenGL that is running on the device.
Solution 3:
you may need to add this to your manifest file . android:hardwareAccelerated="false" , android:largeHeap="true"
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/logo"
android:supportsRtl="true"
android:hardwareAccelerated="false"
android:largeHeap="true"
android:theme="@style/AppTheme">
Solution 4:
Try removing those underscores given to the name of the drawable.
Solution 5:
Need to check drawable size.Add the image in four resolutions.
http://developer.android.com/guide/practices/screens_support.html
Post a Comment for "Android Device Is Not Showing The Background Image"