Use the vector icon

This commit is contained in:
jacques 2020-07-23 09:37:58 +02:00
parent 35a915f529
commit 411a4492fc
2 changed files with 4 additions and 12 deletions

View file

@ -8,12 +8,9 @@
<application
android:hardwareAccelerated="true"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:icon="@mipmap/ic_laucher"
android:roundIcon="@mipmap/ic_laucner_round">
<!-- android:roundIcon="@drawable/ic_launcher"
android:supportsRtl="true" -->
android:theme="@style/AppTheme"
android:roundIcon="@drawable/ic_launcher"
android:supportsRtl="true">
<!-- <activity
android:name=".scanActivity"
@ -68,10 +65,5 @@
<service
android:name=".PillDroidJobService"
android:permission="android.permission.BIND_JOB_SERVICE" />
<adaptive-icon>
<background android:drawable="@color/blue"/>
<foreground android:drawable="@drawable/pilldroid"/>
</adaptive-icon>
</application>
</manifest>

View file

@ -431,7 +431,7 @@ public class MedicamentListActivity extends AppCompatActivity {
.setSmallIcon(R.drawable.ic_pill)
.setAutoCancel(true)
.setLargeIcon(BitmapFactory.decodeResource(getApplicationContext().getResources(),
R.mipmap.ic_launcher));
R.drawable.ic_launcher));
return builder.build();
}