title: Lottie animation for full splash screen not taking full screen
body: <p>I have to use lottie animation for splash screen in android. I have used match parent for width and height. But it is showing me some padding at the edges of the screen as in the attached image. If i use scaletype as fitXY then it image is stretched on some devices. How can I use lottie animation file for all device resolutions or do i need to ask our designer for changes in file?</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout
  xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
  xmlns:tools=&quot;http://schemas.android.com/tools&quot;
  android:layout_width=&quot;match_parent&quot;
  android:layout_height=&quot;match_parent&quot;
  android:background=&quot;@color/retention_bg_welcome_color&quot;&gt;
  
  &lt;com.airbnb.lottie.LottieAnimationView
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
      app:layout_constraintStart_toStartOf=&quot;parent&quot;
      app:layout_constraintTop_toTopOf=&quot;parent&quot;
      app:lottie_autoPlay=&quot;true&quot;
      app:lottie_fileName=&quot;test_lottie.json&quot;
      android:adjustViewBounds=&quot;true&quot;
      app:lottie_loop=&quot;true&quot;
      app:lottie_speed=&quot;0.8&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/3LFzS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3LFzS.png" alt="enter image description here" /></a></p>