aboutsummaryrefslogtreecommitdiff
path: root/mediapicker/src/main/res/layout/kau_blurred_imageview.xml
blob: e28cb9a4b4a7b9e5b023a75ae31f9d4b8343bf84 (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
32
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    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>