Android Asset Usuage XHDPI, HDPI -


so have following files in these directories:

res/drawable-hdpi/icon_logo.png res/drawable-xhdpi/icon_logo.png 

in xhdpi layout res/layout-xlarge/main.xml referencing icon_logo in image hdpi resolution asset displayed instead of xhdpi asset.

<imageview         android:layout_width="229.50dp"         android:layout_height="42.50dp"         android:layout_alignparentleft="true"         android:layout_marginleft="10dp"         android:layout_margintop="13dp"         android:contentdescription="@string/cd_header_text"         android:src="@drawable/icon_logo" /> 

why be, i've been hitting head against wall last hour trying figure out.

p.s. tablet testing galaxy tab 10.1 running honeycomb 3.2

to knowledge, galaxy tab 10.1 has mdpi screen same moto xoom, guess if don't have mdpi icon resource manager takes next 1 available, hdpi icon?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -