我在as中修改了按钮图片,图片在模拟器上显示正常,在手机上显示一片蓝色是为什么呢
我将图片改为.9格式png格式或者svg模式都没有用,有人知道为什么吗
```java
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.application.locationactivity">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.NoActionBar" //改这里试试
tools:targetApi="31">
```
先说结论:尽量不用 svg、png 制作小图标,推荐使用字体图标。