android - Drawable from mdpi loading instead of hdpi -
i have set project different drawable directories (ldpi, mdpi , hdpi). have background png 2 different resolutions: 320x480 in drawable-mdpi folder, , 480x800 in drawable-hdpi. both have same filename. when try load background style in manifest (using android:windowbackground in style) if use emulator 1.6 device, correct 1 loaded(mdpi). however, if try on nexus, see @ first correct background hdpi folder loaded, switches mdpi one. have tried set background in layout xml file (android:src=...) in case mdpi 1 loaded. if delete mdpi version, loaded ok. idea on problem? why loading mdpi drawable?
in manifest file:
<supports-screens android:anydensity="true"/>
hope hepls
Comments
Post a Comment