-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathshare_excitement_layout.xml
64 lines (60 loc) · 2.41 KB
/
share_excitement_layout.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottom_sheet"
android:visibility="gone"
android:background="@color/brightBlue"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_16"
app:behavior_hideable="true"
app:behavior_peekHeight="@dimen/margin_55"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
<ImageView
android:id="@+id/emoticon"
android:layout_width="50dp"
android:layout_height="50dp"
android:scaleType="centerCrop"
android:contentDescription="@string/share_desc"
android:src="@drawable/party"
/>
<TextView
android:id="@+id/share_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_toEndOf="@id/emoticon"
android:fontFamily="@font/brutalista_bold"
android:text="@string/transaction_successful"
android:textStyle="bold"
android:textSize="@dimen/text_16"
android:textAlignment="viewEnd"
/>
<TextView
android:id="@+id/share_subTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_below="@id/share_title"
android:layout_toEndOf="@id/emoticon"
android:fontFamily="@font/brutalista_regular"
android:text="@string/share_desc"
android:textAlignment="viewEnd" />
<TextView
android:id="@+id/share_btn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:layout_alignParentEnd="true"
android:layout_below="@id/share_subTitle"
android:paddingStart="@dimen/margin_13"
android:paddingBottom="@dimen/margin_13"
android:paddingTop="@dimen/margin_13"
android:paddingEnd="0dp"
android:layout_toEndOf="@id/emoticon"
android:fontFamily="@font/brutalista_bold"
android:textStyle="bold"
android:text="@string/share"
android:textAlignment="viewEnd"
android:textColor="@color/blue_state_color" />
</RelativeLayout>