Replace app icon

This commit is contained in:
Dmitriy Bogdanov
2017-10-07 11:15:51 +04:00
parent cd0c84b9bd
commit f02c51f2d3
16 changed files with 5 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

+1 -1
View File
@@ -12,7 +12,7 @@
<application
android:name="fr.gaulupeau.apps.Poche.App"
android:allowBackup="true"
android:icon="@drawable/icon"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/LightTheme"
@@ -695,7 +695,7 @@ public class TtsService
.putString(MediaMetadataCompat.METADATA_KEY_ALBUM, metaDataAlbum)
.putString(MediaMetadataCompat.METADATA_KEY_TITLE, metaDataTitle)
.putBitmap(MediaMetadataCompat.METADATA_KEY_ALBUM_ART,
BitmapFactory.decodeResource(getResources(), R.drawable.icon));
BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher));
if (textInterface != null) {
builder.putLong(MediaMetadataCompat.METADATA_KEY_DURATION, textInterface.getTotalDuration());
}
@@ -761,7 +761,7 @@ public class TtsService
NotificationCompat.Builder builder = generateNotificationBuilderFrom(getApplicationContext(), mediaSession);
builder.setContentIntent(notificationPendingIntent);
builder.setWhen(0);
builder.setSmallIcon(R.drawable.icon);
builder.setSmallIcon(R.mipmap.ic_launcher);
if (state != State.ERROR) {
//builder.addAction( generateAction( android.R.drawable.ic_media_previous, "Previous", KeyEvent.KEYCODE_MEDIA_PREVIOUS ) );
builder.addAction(generateAction(android.R.drawable.ic_media_rew, "Rewind", KeyEvent.KEYCODE_MEDIA_REWIND));
+1 -1
View File
@@ -15,7 +15,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitCenter"
android:src="@drawable/icon"
android:src="@mipmap/ic_launcher"
android:contentDescription="@string/app_name"
android:layout_gravity="center" />
+1 -1
View File
@@ -4,6 +4,6 @@
android:initialLayout="@layout/icon_unread"
android:minHeight="40dp"
android:minWidth="40dp"
android:previewImage="@drawable/icon"
android:previewImage="@mipmap/ic_launcher"
android:updatePeriodMillis="86400000"
android:widgetCategory="home_screen" />
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB