-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Expand file tree
/
Copy pathactivity_main.xml
More file actions
42 lines (37 loc) · 1.65 KB
/
Copy pathactivity_main.xml
File metadata and controls
42 lines (37 loc) · 1.65 KB
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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.google.firebase.quickstart.fcm.java.MainActivity">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:layout_gravity="center_horizontal"
android:src="@drawable/firebase_lockup_400" />
<TextView
android:id="@+id/informationTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:gravity="center_horizontal"
android:text="@string/quickstart_message" />
<Button
android:id="@+id/subscribeButton"
android:layout_width="@dimen/standard_field_width"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:text="@string/subscribe_to_weather" />
<Button
android:id="@+id/logRegistrationButton"
android:layout_width="@dimen/standard_field_width"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:text="@string/log_token" />
</LinearLayout>