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.
我正在尝试摆脱手机上的色带。现在看起来像这样:
不好对吧?
我按照本教程(关于预抖动的部分)进行操作,但没有成功。该屏幕截图是在预抖动之后。我怎样才能解决这个问题?安卓2.2.1
编辑:也看过这个,但我无法让代码工作。
好的,我加了
bg.getDrawable().setDither(true);
因为背景是带状的drawable。当我尝试运行它时,这会使我的应用程序崩溃。所以我不知道该怎么办。