user3334111
user3334111

Reputation: 21

Android Default layout

so I have this folders with corresponding xml

my problem is the layout folder automatically detects android wear on device selection preview. I don't want to use my app for android wear How can i remove it? If I change it to another let say Nexus 5 preview I'll be redirect to sw600dp. I want my layout folder to use like a normal handset let say nexus one

Upvotes: 0

Views: 174

Answers (3)

shashi2459
shashi2459

Reputation: 581

if you want to disable the screen support then u can do it by using

<supports-screens android:anyDensity="false" android:largeScreens="false"/>

and more...by just mentioning it in your AndroidManifest file

Upvotes: 0

MSA
MSA

Reputation: 2482

Delete

layout-sw200dp
layout-sw600dp
layout-sw600dp-land
layout-sw800dp

And keep only layout directory

Upvotes: 0

Anton Savin
Anton Savin

Reputation: 41301

If you don't want your layout to be different on different devices, you can just delete all layout-* folders, leaving only the layout folder.

Upvotes: 1

Related Questions