/
layout_example_fruits.xml
54 lines (48 loc) · 1.92 KB
/
layout_example_fruits.xml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<com.avito.android.blurlayout.BlurLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background_gradient"
app:blurLayout_blurRadius="25"
app:blurLayout_targetChildBackgroundCornerRadius="16dp"
app:blurLayout_targetChildId="@id/blurred_background_view"
tools:ignore="ContentDescription">
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginEnd="140dp"
android:layout_marginBottom="140dp"
android:src="@drawable/ic_apple" />
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginStart="140dp"
android:layout_marginTop="140dp"
android:src="@drawable/ic_orange" />
<ImageView
android:id="@+id/blurred_background_view"
android:layout_width="300dp"
android:layout_height="300dp"
android:layout_gravity="center"
android:background="#80FFFFFF"
android:padding="100dp"
app:srcCompat="@drawable/ic_avito_logo" />
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginStart="140dp"
android:layout_marginBottom="140dp"
android:src="@drawable/ic_strawberry" />
<ImageView
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_gravity="center"
android:layout_marginTop="140dp"
android:layout_marginEnd="140dp"
android:src="@drawable/ic_bananas" />
</com.avito.android.blurlayout.BlurLayout>