Earl Whitney
Lurker
I want to use my own icon for my app. I created icons in various sizes and placed them in the mipmap directories, but android seems to be using xml files (see attached image) in the "drawable" folder to set the icons. Here is my manifest file:
The manifest appears to be instructing android to use the "ic_launcher.png" images that I created and placed in every mipmap directory. However, the apk seems to be built using the xml files in the "drawable" folder. A copy of the Project View for this applicationis attached.
Is there a way to get Android to use my png image for my icon? Thank you!
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="us.mathguy.factornumbers">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
The manifest appears to be instructing android to use the "ic_launcher.png" images that I created and placed in every mipmap directory. However, the apk seems to be built using the xml files in the "drawable" folder. A copy of the Project View for this applicationis attached.
Is there a way to get Android to use my png image for my icon? Thank you!