Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个可绘制的背景,我想将它水平拉伸到屏幕宽度并保持其纵横比,但我想垂直裁剪它,因为它会超出屏幕底部。
由于某种原因,我不能使用 ImageView,必须使用 BitmapDrawable,有什么帮助吗?
提前致谢。