Daniel o Keeffe
Daniel o Keeffe

Reputation: 578

Eclipse keeps changing layout

I'm trying to build a layout for a simple android app.

I have 3 folders named layout, layout-small and layout-large.

In each folder I have an Activity_main. But when I try and design the layout for the activity_main in the layout-large folder, and switch the view to a different phone, it automatically goes back to the activity_main in the layout folder.

One of my 3 emulators is constantly ticked when in activity_large in layout main, as is the 5.1 WVGA device.

Any ideas on how to "untick" the device and emulator???

Thanks in advance

Upvotes: 0

Views: 119

Answers (1)

Donca Bogdan
Donca Bogdan

Reputation: 60

You shouldn't have 3 layouts. You need only one layout and in the folders to put the resources used in the layout in that way the app will know to take the right resource depending the type of phone hdpi/xhdpi/xxhdpi

Upvotes: 2

Related Questions