简体   繁体   中英

android layouts clashing with layouts

I am trying to supporting many different android devices and have run into a problem with my layouts, the problem is These layouts are showing only the 5.4 WVGA in the preview pane and the default layout showing wear square/round

layout-large shows 5.4 WVGA

layout-large-hdpi shows 5.4 WVGA

layout-sw480dp shows 5.4 WVGA

default layout shows wear square/round

these are the only devices it will show in the preview for the folders mentioned! other folders seem fine! i have read the development docs and not sure where i am going wrong to support all screen sizes as thought i had it but was wrong,please see picture i have added to see my layouts.

在此处输入图片说明

I think you ask about preview in Android Studio.

You could change virtual device to render in preview top bar:

在此处输入图片说明

UPDATE 1

Check if other device definition exists in Tools > Android > AVD manager 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM