> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Why Do Images in Rich Push Templates Appear With Extra Space Compared to the Preview on the MoEngage UI?

> Understand why rich push template images show extra padding or whitespace on devices versus the MoEngage dashboard preview.

## Problem

Images in Rich Push notifications (including in carousels) sometimes appear with extra space when viewed on mobile devices, unlike in the Rich Push Template preview on the MoEngage UI.

## Explanation

* Verify that the rich push notification dependency is added to your app-level `build.gradle` file using either the version catalog or the artifact ID, as illustrated below.

<CodeGroup>
  ```kotlin Kotlin wrap theme={null}
  build.gradle (:app)
  implementation(moengage.richNotification) // using moengage version catalog
  or
  implementation("com.moengage:rich-notification:$sdkVersion") // using artifact id
  ```
</CodeGroup>

* Refer to the [Installing Version Catalog](https://developers.moengage.com/hc/en-us/articles/4407395989268-Installing-Version-Catalog) documentation to integrate the MoEngage version catalog into your project.
* Refer to the [Installing SDK using Artifact Id](https://www.moengage.com/docs/developer-guide/android-sdk/sdk-integration/advanced-or-optional/installing-sdk-using-artifact-id) documentation to integrate the MoEngage rich notification dependency using the artifact ID.
* The behaviour described is expected if integration is correct and the Android OS version is 12 or later. Refer to this link, [Behavior changes: Apps targeting Android 12](https://developer.android.com/about/versions/12/behavior-changes-12), for more information on notification layouts and customizable areas.
