diff --git a/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/MapboxNavigationNotification.kt b/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/MapboxNavigationNotification.kt index a3c906f3135..54e819a1ed6 100644 --- a/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/MapboxNavigationNotification.kt +++ b/libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/internal/navigation/MapboxNavigationNotification.kt @@ -294,11 +294,11 @@ internal class MapboxNavigationNotification : NavigationNotification { } collapsedNotificationRemoteViews?.setTextViewText( R.id.notificationDistanceText, - currentDistanceText + currentDistanceText.toString() ) expandedNotificationRemoteViews?.setTextViewText( R.id.notificationDistanceText, - currentDistanceText + currentDistanceText.toString() ) } } diff --git a/libandroid-navigation/src/main/res/drawable/ic_close.xml b/libandroid-navigation/src/main/res/drawable/ic_close.xml index ede4b7108d5..2eaa9e2199d 100644 --- a/libandroid-navigation/src/main/res/drawable/ic_close.xml +++ b/libandroid-navigation/src/main/res/drawable/ic_close.xml @@ -1,9 +1,9 @@ + android:width="14dp" + android:height="14dp" + android:viewportWidth="14" + android:viewportHeight="14"> + android:fillColor="#FFFFFF" + android:pathData="M14,1.4l-1.4,-1.4l-5.6,5.6l-5.6,-5.6l-1.4,1.4l5.6,5.6l-5.6,5.6l1.4,1.4l5.6,-5.6l5.6,5.6l1.4,-1.4l-5.6,-5.6z" /> diff --git a/libandroid-navigation/src/main/res/layout/collapsed_navigation_notification_layout.xml b/libandroid-navigation/src/main/res/layout/collapsed_navigation_notification_layout.xml index d44503987fb..809f1ad109a 100644 --- a/libandroid-navigation/src/main/res/layout/collapsed_navigation_notification_layout.xml +++ b/libandroid-navigation/src/main/res/layout/collapsed_navigation_notification_layout.xml @@ -2,9 +2,9 @@ + android:layout_height="64dp" + tools:background="@color/mapboxNotificationBlue"> + android:paddingBottom="8dp" + tools:background="@color/mapboxNotificationBlue"> @@ -26,8 +28,7 @@ android:layout_gravity="center" android:layout_marginEnd="8dp" android:layout_marginRight="8dp" - android:src="@drawable/ic_close" - android:tint="@android:color/white" /> + android:src="@drawable/ic_close" /> - + + + +