-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathemergency_help_fragment.xml
59 lines (51 loc) · 2.34 KB
/
emergency_help_fragment.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
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
app:cardElevation="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!--Get help text will go here-->
<TextView
android:paddingBottom="20dp"
android:paddingTop="15dp"
android:textSize="25sp"
android:gravity="center"
android:text="Get help from our team"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<!--Container for call and message icon-->
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:layout_marginBottom="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<!--Call icon goes here-->
<android.support.design.widget.FloatingActionButton
android:clickable="true"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:id="@+id/phone_icon"
android:src="@drawable/ic_call_white_48dp"
android:layout_width="@dimen/emergency_contents_icon_size"
android:layout_height="@dimen/emergency_contents_icon_size" />
<!--Message icon goes here-->
<android.support.design.widget.FloatingActionButton
android:clickable="true"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
app:backgroundTint="@color/colorPrimary"
android:layout_marginLeft="60dp"
android:layout_marginStart="60dp"
android:src="@drawable/ic_message_white_48dp"
android:id="@+id/message_icon"
android:layout_width="@dimen/emergency_contents_icon_size"
android:layout_height="@dimen/emergency_contents_icon_size" />
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>