如何设置它以便应用程序仅以纵向模式运行?我希望在应用程序运行时禁用横向模式.我该如何以编程方式执行此操作?
android
我希望平板电脑能够以纵向和横向(sw600dp或更高)显示,但手机仅限于纵向.我找不到有条件选择方向的方法.有什么建议?
android tablet screen-orientation
android ×2
screen-orientation ×1
tablet ×1