Skip to content

Commit aa67b21

Browse files
authored
Update activity_main.xml
1 parent 03f1c3f commit aa67b21

File tree

1 file changed

+109
-10
lines changed

1 file changed

+109
-10
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 109 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,117 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<ScrollView
3+
xmlns:android="http://schemas.android.com/apk/res/android"
34
xmlns:app="http://schemas.android.com/apk/res-auto"
45
xmlns:tools="http://schemas.android.com/tools"
56
android:layout_width="match_parent"
67
android:layout_height="match_parent"
8+
android:orientation="vertical"
9+
android:background="@drawable/dg"
710
tools:context="com.example.dhananjay.dailygoals.MainActivity">
811

9-
<TextView
10-
android:layout_width="wrap_content"
11-
android:layout_height="wrap_content"
12-
android:text="Hello World!"
13-
app:layout_constraintBottom_toBottomOf="parent"
14-
app:layout_constraintLeft_toLeftOf="parent"
15-
app:layout_constraintRight_toRightOf="parent"
16-
app:layout_constraintTop_toTopOf="parent" />
12+
<LinearLayout
13+
android:layout_width="match_parent"
14+
android:layout_height="match_parent"
15+
android:orientation="vertical">
16+
<TextView
17+
android:layout_width="wrap_content"
18+
android:layout_height="wrap_content"
19+
android:text="PLAN FOR"
20+
android:textSize="30sp"
21+
android:padding="20dp"
22+
android:textColor="#ffffff"
23+
android:fontFamily="cursive"/>
24+
25+
26+
<RelativeLayout
27+
android:layout_width="match_parent"
28+
android:layout_height="wrap_content"
29+
android:layout_weight="1">
30+
31+
<android.support.v7.widget.RecyclerView
32+
android:id="@+id/recyclerView"
33+
android:layout_width="match_parent"
34+
android:layout_height="match_parent"
35+
android:layout_margin="16dp"
36+
android:elevation="10dp">
37+
</android.support.v7.widget.RecyclerView>
38+
</RelativeLayout>
39+
<TextView
40+
android:layout_width="wrap_content"
41+
android:layout_height="wrap_content"
42+
android:text="ONGOING..."
43+
android:textSize="30sp"
44+
android:padding="20dp"
45+
android:textColor="#ffffff"
46+
android:fontFamily="cursive"/>
47+
48+
49+
<RelativeLayout
50+
android:layout_width="match_parent"
51+
android:layout_height="wrap_content"
52+
android:layout_weight="1">
53+
54+
<android.support.v7.widget.RecyclerView
55+
android:id="@+id/recyclerView1"
56+
android:layout_width="match_parent"
57+
android:layout_height="match_parent"
58+
android:layout_margin="16dp"
59+
android:elevation="10dp">
60+
</android.support.v7.widget.RecyclerView>
61+
</RelativeLayout>
62+
<TextView
63+
android:layout_width="wrap_content"
64+
android:layout_height="wrap_content"
65+
android:text="COMPLETED/MISSED"
66+
android:textSize="30sp"
67+
android:padding="20dp"
68+
android:textColor="#ffffff"
69+
android:fontFamily="cursive"/>
70+
71+
72+
<RelativeLayout
73+
android:layout_width="match_parent"
74+
android:layout_height="wrap_content"
75+
android:layout_weight="1">
76+
77+
<android.support.v7.widget.RecyclerView
78+
android:id="@+id/recyclerView2"
79+
android:layout_width="match_parent"
80+
android:layout_height="match_parent"
81+
android:layout_margin="16dp"
82+
android:elevation="10dp">
83+
</android.support.v7.widget.RecyclerView>
84+
</RelativeLayout>
85+
<TextView
86+
android:layout_width="wrap_content"
87+
android:layout_height="wrap_content"
88+
android:text="ACHIEVEMENTS"
89+
android:textSize="30sp"
90+
android:padding="20dp"
91+
android:textColor="#ffffff"
92+
android:fontFamily="cursive"/>
93+
94+
95+
<RelativeLayout
96+
android:layout_width="match_parent"
97+
android:layout_height="wrap_content"
98+
android:layout_weight="1">
99+
100+
<android.support.v7.widget.RecyclerView
101+
android:id="@+id/recyclerView3"
102+
android:layout_width="match_parent"
103+
android:layout_height="match_parent"
104+
android:layout_margin="16dp"
105+
android:elevation="10dp">
106+
</android.support.v7.widget.RecyclerView>
107+
</RelativeLayout>
108+
109+
<android.support.design.widget.BottomNavigationView
110+
android:layout_width="match_parent"
111+
android:layout_height="60dp"
112+
android:layout_alignParentBottom="true"
113+
app:menu="@menu/navigation"/>
114+
115+
</LinearLayout>
116+
</ScrollView>
17117

18-
</android.support.constraint.ConstraintLayout>

0 commit comments

Comments
 (0)