1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ android : id =" @+id/bottom_sheet"
5
+ android : visibility =" gone"
6
+ android : background =" @color/brightBlue"
7
+ android : layout_width =" match_parent"
8
+ android : layout_height =" wrap_content"
9
+ android : padding =" @dimen/margin_16"
10
+ app : behavior_hideable =" true"
11
+ app : behavior_peekHeight =" @dimen/margin_55"
12
+ app : layout_behavior =" com.google.android.material.bottomsheet.BottomSheetBehavior" >
13
+
14
+ <ImageView
15
+ android : id =" @+id/emoticon"
16
+ android : layout_width =" 50dp"
17
+ android : layout_height =" 50dp"
18
+ android : scaleType =" centerCrop"
19
+ android : contentDescription =" @string/share_desc"
20
+ android : src =" @drawable/party"
21
+ />
22
+
23
+ <TextView
24
+ android : id =" @+id/share_title"
25
+ android : layout_width =" wrap_content"
26
+ android : layout_height =" wrap_content"
27
+ android : layout_alignParentEnd =" true"
28
+ android : layout_toEndOf =" @id/emoticon"
29
+ android : fontFamily =" @font/brutalista_bold"
30
+ android : text =" @string/transaction_successful"
31
+ android : textStyle =" bold"
32
+ android : textSize =" @dimen/text_16"
33
+ android : textAlignment =" viewEnd"
34
+ />
35
+
36
+ <TextView
37
+ android : id =" @+id/share_subTitle"
38
+ android : layout_width =" wrap_content"
39
+ android : layout_height =" wrap_content"
40
+ android : layout_alignParentEnd =" true"
41
+ android : layout_below =" @id/share_title"
42
+ android : layout_toEndOf =" @id/emoticon"
43
+ android : fontFamily =" @font/brutalista_regular"
44
+ android : text =" @string/share_desc"
45
+ android : textAlignment =" viewEnd" />
46
+
47
+ <TextView
48
+ android : id =" @+id/share_btn"
49
+ android : layout_width =" wrap_content"
50
+ android : layout_height =" wrap_content"
51
+ android : background =" ?selectableItemBackground"
52
+ android : layout_alignParentEnd =" true"
53
+ android : layout_below =" @id/share_subTitle"
54
+ android : paddingStart =" @dimen/margin_13"
55
+ android : paddingBottom =" @dimen/margin_13"
56
+ android : paddingTop =" @dimen/margin_13"
57
+ android : paddingEnd =" 0dp"
58
+ android : layout_toEndOf =" @id/emoticon"
59
+ android : fontFamily =" @font/brutalista_bold"
60
+ android : textStyle =" bold"
61
+ android : text =" @string/share"
62
+ android : textAlignment =" viewEnd"
63
+ android : textColor =" @color/blue_state_color" />
64
+ </RelativeLayout >
0 commit comments