Monday, June 4, 2018

java - Different layouts?


I have had trouble in the past with optimizing my game for different layouts, so that the players don't see the game in different ways on different screens. Someone told me that the normal directory would override the large-land directory, and oddly enough it was true, so I deleted the normal directory.


enter image description here



Will any other layouts override each other? I have put every layout into each of these folders, and edited appropriately (took me a week of many hours!), so every directory you see in the picture, has multiple XML resource folders within. Do I need to do anything else to optimize my app for all layouts? I have added the following in my manifest:


        android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />

Thanks,


Ruchir





No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...