-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlayout_3_screens_combined_polished.xml
98 lines (85 loc) · 3.27 KB
/
layout_3_screens_combined_polished.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.motion.widget.MotionLayout 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"
android:id="@+id/motion_layout_poster_and_movie_info"
app:layoutDescription="@xml/motion_3_screens_combined_polished"
>
<com.google.android.material.card.MaterialCardView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardCornerRadius="8dp"
android:id="@+id/card_movie_poster"
app:layout_constraintDimensionRatio="2:3"
>
<ImageView
android:id="@+id/image_poster"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/poster_endgame"
/>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/card_movie_info"
android:layout_width="0dp"
android:layout_height="0dp"
app:cardElevation="4dp"
app:layout_constraintDimensionRatio="2:3"
>
<include layout="@layout/layout_movie_info_with_synopsis"/>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/card_more_movies"
android:layout_width="0dp"
android:layout_height="0dp"
style="@style/MoreMoviesCard"
app:cardElevation="20dp"
>
<include layout="@layout/layout_more_movies_basics"/>
</com.google.android.material.card.MaterialCardView>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_horizontal_10"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent=".10"
/>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vertical_52"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent=".52"
/>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vertical_48"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent=".48"
/>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vertical_60"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent=".60"
/>
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_horizontal_93"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent=".93"
/>
<View
android:id="@+id/view_grey_out"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#000000"
android:alpha="0"
android:elevation="18dp"
/>
</androidx.constraintlayout.motion.widget.MotionLayout>