aboutsummaryrefslogtreecommitdiff
path: root/mediapicker/src/main/res/layout/kau_blurred_imageview.xml
blob: 70ad00e498a47072b4b3531ba5704b3d505192f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <ImageView
        android:id="@+id/image_base"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:contentDescription="@string/kau_blurrable_imageview"
        android:scaleType="centerCrop" />

    <ImageView
        android:id="@+id/image_blur"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:alpha="0"
        android:contentDescription="@string/kau_blurrable_imageview"
        android:scaleType="centerCrop" />

    <ImageView
        android:id="@+id/image_foreground"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:alpha="0"
        android:background="@color/kau_blurred_image_selection_overlay"
        android:contentDescription="@string/kau_blurrable_imageview"
        android:scaleType="centerInside" />

</merge>