-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactivity_quiz.xml
More file actions
82 lines (74 loc) · 2.81 KB
/
activity_quiz.xml
File metadata and controls
82 lines (74 loc) · 2.81 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.nidhi.nurseryapp.in.example.nidhi.nurseryapp.Quiz">
<HorizontalScrollView
android:id="@+id/scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="match_parent">
<ImageView
android:id="@+id/background"
android:layout_width="1000dp"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/bckg"/>
</FrameLayout>
</HorizontalScrollView>
<android.support.v4.view.ViewPager
android:id="@+id/view2"
android:background="@drawable/bckg"
android:layout_width="match_parent"
android:layout_height="match_parent">
</android.support.v4.view.ViewPager>
<LinearLayout
android:gravity="right"
android:layout_margin="10dp"
android:layout_width="match_parent"
android:layout_height="40dp">
<ImageView
android:id="@+id/home"
android:onClick="home"
app:srcCompat="@drawable/ic_home_black_24dp"
android:layout_marginRight="10dp"
android:layout_width="45dp"
android:layout_height="45dp" />
<ImageView
android:id="@+id/mute"
android:onClick="mute"
app:srcCompat="@drawable/ic_music"
android:layout_marginRight="10dp"
android:layout_width="40dp"
android:layout_height="40dp" />
</LinearLayout>
<LinearLayout
android:layout_marginTop="520dp"
android:gravity="bottom"
android:layout_width="match_parent"
android:layout_height="185dp">
<ImageView
android:id="@+id/previous"
android:src="@drawable/previous"
android:gravity="bottom"
android:onClick="jump"
android:layout_width="130dp"
android:layout_height="90dp"
android:layout_gravity="bottom|left"
android:layout_marginRight="100dp"/>
<ImageView
android:id="@+id/next"
android:src="@drawable/next"
android:layout_gravity="bottom|right"
android:onClick="jump"
android:layout_width="130dp"
android:layout_height="92dp"
android:layout_marginRight="60dp"/>
</LinearLayout>
</RelativeLayout>