android - 如何创建适合我的显示器尺寸的 AVD?

标签 android android-emulator android-virtual-device

我想根据我的显示器尺寸和分辨率在 android studio 的 AVD 管理器中创建一个设备。我尝试根据我的显示器设置设备的尺寸和分辨率,但没有得到实际结果。

我的目标是当我运行 AVD 时它完全适合我的显示器。 例如,我的显示器尺寸为 14",分辨率为 1366 x 768。 我希望运行 AVD 时它适合我的屏幕,并且我只能看到 android 主屏幕。

enter image description here

enter image description here

it's what I got with my configuration it's what I want to have

最佳答案

AVD 已经有了自己的默认屏幕尺寸!

since you want to make it work on full screen So, I would suggest some of the following ways:- choose Either way

  1. 在设置项目设备时使用 android TV 选项
  2. 深入了解 AVD 标志中的 Android Studio 设置以进行自定义

任何这些都可以,但请记住也检查您的 active.xml 文件以让您的应用填满屏幕

关于android - 如何创建适合我的显示器尺寸的 AVD?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49176510/

相关文章:

java - fragment 无法在旋转时恢复正确的 View

android - 如何知道 Fragment 上的输入转换何时结束?

android - MarkerView 未使用 MPAndroidChart 显示

batch-file - 打开带有隐藏cmd.exe的应用程序

android - 无法在模拟器中启动 AVD :QT library not found

android - 如何使用 Intent 启动 ListActivity?

android - 设置具有更大屏幕宽高比的 Android 模拟器

android - Android Eclipse 模拟器上的相机 :

Android studio 运行模拟器截图

android studio 3.1 最新版本上没有 playstore 的 Android 模拟器