JessYanCoding / JessYanCoding/AndroidAutoSize

适配异常

未關閉
#377 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
13.7k
分支
2k
PR 合併指標
30 天內沒有已合併 PR

描述

我使用你们提供的demo进行测试

实际设计像素是宽 2304 高是3072 也就是3倍, 设计宽高比是1.33。。。。。。
在手机比例为1080*1920 比例1.777.... 这种感觉没效果,图片非常大,不是按实际设计图比例缩小
xml中是按蓝湖里面的dp值进行设置的
屏幕方向是水平方向

### Environment
- [x] Autosize Version: v1.2.1
- [x] Target Android Version: Android 11.0
- [x] Device Model: vivo y31
- [x] Device Resolution: 1080px * 1920px
- [x] Design Size On AndroidManifest: 768dp * 1024dp

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by reproducing the provided demo with the AndroidManifest design_width_in_dp and design_height_in_dp values from the report, using the reported landscape configuration, Android 11, and vivo Y31 resolution. Trace the screen-adaptation entry point to determine why the 768dp × 1024dp design is rendered incorrectly at 1080 × 1920; done means the mismatch is fixed or its expected behavior is clearly documented and verified.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
android, java
領域
mobile
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。