我在res文件夹中创建了layout-large、layout-normal和layout-xlarge ,并将所有 xml 文件复制到了这些布局文件夹中
首先,我想问一下layout(默认)和 layout-normal文件夹有什么区别?
我知道如果我在大屏幕上运行应用程序,应用程序将从layout-xlarge获取 xml 文件。因此,我在tap2 10.1中使用 FrameLayout 使layout-xlarge中的所有元素看起来像我想要的那样,但是当我在 note2 或 s3 mobile中运行它时,它看起来不同,因为屏幕尺寸不一样。
那么如何让应用程序以 tap2 10.1 (1,280 x 800) 和 note2 或 s3 mobile (1,280 x 720) 大小运行?