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.
我为我的应用程序开发了一个导航抽屉,但切换按钮显示为白色。这是我的按钮图像
这就是它在我的应用程序上的显示方式
有谁知道为什么会这样?
您只需确保您的应用程序主题如果您的主题像黑色,您只需在应用程序 Mainfest 文件中应用此主题
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/Theme.Holo.Light" > ...... .... </application>
之后,您将获得相同的 pblm,您只需确保在可绘制文件夹中的图像是否像您的灰色图像......