3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
xmlns : tools =" http://schemas.android.com/tools" >
5
5
6
- <data >
7
-
8
- </data >
9
-
10
6
<androidx .constraintlayout.widget.ConstraintLayout
11
7
android : id =" @+id/cl_image"
12
8
android : layout_width =" match_parent"
13
9
android : layout_height =" match_parent"
14
10
android : background =" @color/black"
15
11
tools : context =" .ui.main.friend_detail.ImageDetailFragment" >
16
12
13
+ <com .github.chrisbanes.photoview.PhotoView
14
+ android : id =" @+id/iv_profile_image"
15
+ android : layout_width =" match_parent"
16
+ android : layout_height =" match_parent"
17
+ android : transitionName =" secondTransitionName"
18
+ app : layout_constraintBottom_toBottomOf =" parent"
19
+ app : layout_constraintTop_toTopOf =" parent" />
20
+
17
21
<ImageView
18
22
android : id =" @+id/iv_btn_close"
19
23
android : layout_width =" 36dp"
20
24
android : layout_height =" 36dp"
21
25
android : layout_margin =" 8dp"
26
+ android : elevation =" 2dp"
27
+ android : contentDescription =" @string/fragment_image_detail_close_button"
22
28
android : padding =" 4dp"
23
29
android : src =" @drawable/ic_baseline_close_24"
24
30
app : layout_constraintStart_toStartOf =" parent"
25
31
app : layout_constraintTop_toTopOf =" parent" />
26
32
27
- <ImageView
28
- android : id =" @+id/iv_profile_image"
29
- android : layout_width =" match_parent"
30
- android : layout_height =" match_parent"
31
- android : transitionName =" secondTransitionName"
32
- app : layout_constraintBottom_toBottomOf =" parent"
33
- app : layout_constraintTop_toTopOf =" parent" />
34
-
35
-
36
33
</androidx .constraintlayout.widget.ConstraintLayout>
37
34
</layout >
0 commit comments