Problem in Developing for multiple screen resolution in Android? -


i want develop android applications support multiple screen resolutions. have gone through support multiple screen resolution article.

i tried creating folder layout-hdpi , had 1 layout file in that. layout file similar name in layout folder too. changed values in layout file in layout-hdpi changed values in layout file in layout folder.

to more specific hierarchy this

res | -->layout | --------> main.xml | -->layout-hdpi | --------> main.xml

any change in main.xml under layout-hdpi changes value in main.xml under layout.

can let me know why happening?

i faced same issue, think copied actual layout , pasted in other directory, how ides map copied files , when save them changes applies on copies.

try restarting ide , fixed.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -