<?xml version="1.0" encoding="utf-8"?>

<com.google.android.exoplayer2.ui.AspectRatioFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/chat_wallpaper_preview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop"
        tools:src="@drawable/test_gradient" />

    <View
        android:id="@+id/chat_wallpaper_dim"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/black"
        android:visibility="gone"
        tools:alpha="0.2f"
        tools:visibility="visible" />
</com.google.android.exoplayer2.ui.AspectRatioFrameLayout>
