Skip to content

Commit

Permalink
调整UI比例
Browse files Browse the repository at this point in the history
橙狐是通过固定宽度设定高度来调整ui比例,这个方法是调整最少的地方同时错位也少的方法,但是会因为放大ui导致部分界面显示不全
另一个方法是直接改ui.xml,虽然显示更清楚,不过ui会全挤在左边,空出整个右边,问题比较大
  • Loading branch information
ymdzq committed Jun 9, 2023
1 parent 6eb3e6d commit 8cee2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendorsetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
## 界面显示设定
# 设置屏幕高度,状态栏高度,状态栏左右边距
# 由于橙狐默认屏幕比例是16:9,所以应设置屏幕高度为屏幕比例换算成n:9之后,n*120
export OF_SCREEN_H=2560
export OF_SCREEN_H=1728
# 状态栏高度(默认72像素,刘海屏设备按需设置)
# export OF_STATUS_H=60
# 状态栏左右避让宽度(默认20像素,顶部圆角设备按需设置)
Expand Down

0 comments on commit 8cee2e6

Please sign in to comment.