-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathactivity_main_question.xml
61 lines (56 loc) · 2.38 KB
/
activity_main_question.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
<?xml version="1.0" encoding="utf-8"?>
<!-- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/">-->
<RelativeLayout 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:background="@color/black"
android:clickable="true"
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.example.sleep_buster.MainQuestionActivity" >
<TextView
android:id="@+id/question1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:text="Random Question Generator here"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@color/blue"
android:textSize="40sp"
android:layout_gravity="center_horizontal" />
<Button
android:id="@+id/wrong"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="84dp"
android:background="@color/blue"
android:padding="@dimen/abc_text_size_menu_material"
android:text="False"
android:textSize="40sp"
android:layout_gravity="center_horizontal" />
<!-- </LinearLayout>-->
<Button
android:id="@+id/correct"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/question1"
android:layout_centerHorizontal="true"
android:layout_marginTop="17dp"
android:background="@color/blue"
android:maxWidth="300dp"
android:minWidth="88dip"
android:outlineProvider="none"
android:padding="@dimen/abc_text_size_menu_material"
android:text="True"
android:textColor="@color/black"
android:textSize="40sp" />
</RelativeLayout>