-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
46 lines (43 loc) · 1.75 KB
/
activity_main.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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:background="@drawable/background"
tools:context="com.example.dell.aryashitlist.MainActivity">
<TextView
android:id="@+id/aryaStarkTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Arya Stark"
android:fontFamily="serif"
android:textSize="28sp"
android:textStyle="bold"
android:textColor="@android:color/white"
android:layout_centerHorizontal="true"
/>
<Button
android:id="@+id/hitlistButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:text="hitlist"
android:textColor="@android:color/white"
android:background="@android:color/black"
android:onClick="nextActivity"
/>
<ImageView
android:id="@+id/aryaStarkImageView"
android:src="@drawable/arya_stark"
android:layout_below="@id/aryaStarkTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/hitlistButton"
android:layout_margin="16dp"
/>
</RelativeLayout>