3
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
4
android : layout_width =" match_parent"
5
5
android : layout_height =" wrap_content"
6
- android : baselineAligned =" false"
7
- android : orientation =" horizontal"
6
+ android : orientation =" vertical"
8
7
android : padding =" 16dp" >
9
8
10
9
<LinearLayout
11
- android : id =" @+id/lytCameraPick"
12
- android : layout_width =" 0dp"
10
+ android : layout_width =" match_parent"
13
11
android : layout_height =" wrap_content"
14
- android : layout_marginTop =" 10dp"
15
- android : layout_weight =" 1"
16
- android : gravity =" center"
17
- android : orientation =" vertical" >
18
-
19
- <androidx .appcompat.widget.AppCompatImageView
20
- android : layout_width =" 48dp"
21
- android : layout_height =" 48dp"
22
- app : srcCompat =" @drawable/ic_photo_camera_black_48dp"
23
- app : tint =" @color/dialog_choose_icon_color" />
24
-
25
- <androidx .appcompat.widget.AppCompatTextView
26
- android : layout_width =" wrap_content"
12
+ android : baselineAligned =" false"
13
+ android : orientation =" horizontal" >
14
+
15
+ <LinearLayout
16
+ android : id =" @+id/lytCameraPick"
17
+ android : layout_width =" 0dp"
27
18
android : layout_height =" wrap_content"
28
- android : layout_marginTop =" 5dp "
29
- android : text = " @string/title_camera "
30
- android : textAppearance = " @style/TextAppearance.AppCompat.Medium "
31
- android : textColor = " @color/dialog_choose_text_color " / >
19
+ android : layout_marginTop =" 10dp "
20
+ android : layout_weight = " 1 "
21
+ android : gravity = " center "
22
+ android : orientation = " vertical " >
32
23
33
- </LinearLayout >
24
+ <androidx .appcompat.widget.AppCompatImageView
25
+ android : layout_width =" 48dp"
26
+ android : layout_height =" 48dp"
27
+ app : srcCompat =" @drawable/ic_photo_camera_black_48dp"
28
+ app : tint =" @color/dialog_choose_icon_color" />
34
29
35
- <LinearLayout
36
- android : id =" @+id/lytGalleryPick"
37
- android : layout_width =" 0dp"
38
- android : layout_height =" wrap_content"
39
- android : layout_marginTop =" 10dp"
40
- android : layout_weight =" 1"
41
- android : gravity =" center"
42
- android : orientation =" vertical" >
43
-
44
- <androidx .appcompat.widget.AppCompatImageView
45
- android : layout_width =" 48dp"
46
- android : layout_height =" 48dp"
47
- app : srcCompat =" @drawable/ic_photo_black_48dp"
48
- app : tint =" @color/dialog_choose_icon_color" />
49
-
50
- <androidx .appcompat.widget.AppCompatTextView
51
- android : layout_width =" wrap_content"
30
+ <androidx .appcompat.widget.AppCompatTextView
31
+ android : layout_width =" wrap_content"
32
+ android : layout_height =" wrap_content"
33
+ android : layout_marginTop =" 5dp"
34
+ android : text =" @string/title_camera"
35
+ android : textAppearance =" @style/TextAppearance.AppCompat.Medium"
36
+ android : textColor =" @color/dialog_choose_text_color" />
37
+
38
+ </LinearLayout >
39
+
40
+ <LinearLayout
41
+ android : id =" @+id/lytGalleryPick"
42
+ android : layout_width =" 0dp"
52
43
android : layout_height =" wrap_content"
53
- android : layout_marginTop =" 5dp"
54
- android : text =" @string/title_gallery"
55
- android : textAppearance =" @style/TextAppearance.AppCompat.Medium"
56
- android : textColor =" @color/dialog_choose_text_color" />
44
+ android : layout_marginTop =" 10dp"
45
+ android : layout_weight =" 1"
46
+ android : gravity =" center"
47
+ android : orientation =" vertical" >
48
+
49
+ <androidx .appcompat.widget.AppCompatImageView
50
+ android : layout_width =" 48dp"
51
+ android : layout_height =" 48dp"
52
+ app : srcCompat =" @drawable/ic_photo_black_48dp"
53
+ app : tint =" @color/dialog_choose_icon_color" />
54
+
55
+ <androidx .appcompat.widget.AppCompatTextView
56
+ android : layout_width =" wrap_content"
57
+ android : layout_height =" wrap_content"
58
+ android : layout_marginTop =" 5dp"
59
+ android : text =" @string/title_gallery"
60
+ android : textAppearance =" @style/TextAppearance.AppCompat.Medium"
61
+ android : textColor =" @color/dialog_choose_text_color" />
62
+
63
+ </LinearLayout >
57
64
58
65
</LinearLayout >
59
66
67
+ <CheckBox
68
+ android : id =" @+id/applyCropCheckBox"
69
+ android : layout_width =" wrap_content"
70
+ android : layout_height =" wrap_content"
71
+ android : layout_gravity =" center"
72
+ android : layout_marginTop =" 16dp"
73
+ android : text =" @string/apply_crop" />
74
+
60
75
</LinearLayout >
0 commit comments