Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
dbf57e30
Commit
dbf57e30
authored
Jul 02, 2018
by
Sajal Narang
Committed by
GitHub
Jul 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #129 from yashkhem1/master
Updated About Fragment and fragment_about.xml
parents
f58db83f
a9626608
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
654 additions
and
6 deletions
+654
-6
app/src/main/java/in/ac/iitb/gymkhana/iitbapp/MainActivity.java
...c/main/java/in/ac/iitb/gymkhana/iitbapp/MainActivity.java
+4
-0
app/src/main/java/in/ac/iitb/gymkhana/iitbapp/fragment/AboutFragment.java
...a/in/ac/iitb/gymkhana/iitbapp/fragment/AboutFragment.java
+53
-0
app/src/main/res/layout/fragment_about.xml
app/src/main/res/layout/fragment_about.xml
+594
-6
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+3
-0
No files found.
app/src/main/java/in/ac/iitb/gymkhana/iitbapp/MainActivity.java
View file @
dbf57e30
...
...
@@ -30,6 +30,7 @@ import com.squareup.picasso.Picasso;
import
in.ac.iitb.gymkhana.iitbapp.api.UnsafeOkHttpClient
;
import
in.ac.iitb.gymkhana.iitbapp.api.model.NotificationsResponse
;
import
in.ac.iitb.gymkhana.iitbapp.data.User
;
import
in.ac.iitb.gymkhana.iitbapp.fragment.AboutFragment
;
import
in.ac.iitb.gymkhana.iitbapp.fragment.CalendarFragment
;
import
in.ac.iitb.gymkhana.iitbapp.fragment.FeedFragment
;
import
in.ac.iitb.gymkhana.iitbapp.fragment.MapFragment
;
...
...
@@ -248,6 +249,9 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
case
R
.
id
.
nav_settings
:
SettingsFragment
settingsFragment
=
new
SettingsFragment
();
updateFragment
(
settingsFragment
);
//Checking the about fragment
//AboutFragment aboutFragment = new AboutFragment();
//updateFragment(aboutFragment);
break
;
}
...
...
app/src/main/java/in/ac/iitb/gymkhana/iitbapp/fragment/AboutFragment.java
View file @
dbf57e30
...
...
@@ -6,7 +6,11 @@ import android.support.v4.app.Fragment;
import
android.view.LayoutInflater
;
import
android.view.View
;
import
android.view.ViewGroup
;
import
android.widget.ImageView
;
import
com.squareup.picasso.Picasso
;
import
de.hdodenhof.circleimageview.CircleImageView
;
import
in.ac.iitb.gymkhana.iitbapp.R
;
/**
...
...
@@ -25,6 +29,55 @@ public class AboutFragment extends BaseFragment {
Bundle
savedInstanceState
)
{
// Inflate the layout for this fragment
return
inflater
.
inflate
(
R
.
layout
.
fragment_about
,
container
,
false
);
}
@Override
public
void
onStart
()
{
super
.
onStart
();
CircleImageView
varunimg
=
getActivity
().
findViewById
(
R
.
id
.
varunimg
);
CircleImageView
sajalimg
=
getActivity
().
findViewById
(
R
.
id
.
sajalimg
);
CircleImageView
nihalimg
=
getActivity
().
findViewById
(
R
.
id
.
nihalimg
);
CircleImageView
ydidwaniaimg
=
getActivity
().
findViewById
(
R
.
id
.
ydidwaniaimg
);
CircleImageView
cheekuimg
=
getActivity
().
findViewById
(
R
.
id
.
cheekuimg
);
CircleImageView
sarthakimg
=
getActivity
().
findViewById
(
R
.
id
.
sarthakimg
);
CircleImageView
sohamimg
=
getActivity
().
findViewById
(
R
.
id
.
sohamimg
);
CircleImageView
mrunmayiimg
=
getActivity
().
findViewById
(
R
.
id
.
mrunmayiimg
);
CircleImageView
owaisimg
=
getActivity
().
findViewById
(
R
.
id
.
owaisimg
);
CircleImageView
hrushikeshimg
=
getActivity
().
findViewById
(
R
.
id
.
hrushikeshimg
);
CircleImageView
yashkhemimg
=
getActivity
().
findViewById
(
R
.
id
.
yashkhemimg
);
CircleImageView
bavishimg
=
getActivity
().
findViewById
(
R
.
id
.
bavishimg
);
CircleImageView
mayuimg
=
getActivity
().
findViewById
(
R
.
id
.
mayuimg
);
CircleImageView
tomarimg
=
getActivity
().
findViewById
(
R
.
id
.
tomarimg
);
CircleImageView
bijoyimg
=
getActivity
().
findViewById
(
R
.
id
.
bijoyimg
);
CircleImageView
dheerendraimg
=
getActivity
().
findViewById
(
R
.
id
.
dheerendraimg
);
CircleImageView
ranveerimg
=
getActivity
().
findViewById
(
R
.
id
.
ranveerimg
);
CircleImageView
amangourimg
=
getActivity
().
findViewById
(
R
.
id
.
amangourimg
);
CircleImageView
wnccimg
=
getActivity
().
findViewById
(
R
.
id
.
wnccimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/varun.jpg"
).
into
(
varunimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/sajal.jpg"
).
into
(
sajalimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/nihal.jpg"
).
into
(
nihalimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/ydidwania.jpg"
).
into
(
ydidwaniaimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/cheeku.jpg"
).
into
(
cheekuimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/sarthak.jpg"
).
into
(
sarthakimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/soham.jpg"
).
into
(
sohamimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/mrunmayi.jpg"
).
into
(
mrunmayiimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/owais.jpg"
).
into
(
owaisimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/hrushikesh.jpg"
).
into
(
hrushikeshimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/yashkhem.jpg"
).
into
(
yashkhemimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/bavish.jpg"
).
into
(
bavishimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/mayu.jpg"
).
into
(
mayuimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/tomar.jpg"
).
into
(
tomarimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/bijoy.jpg"
).
into
(
bijoyimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/dheerendra.jpg"
).
into
(
dheerendraimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/ranveer.jpg"
).
into
(
ranveerimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/amangour.jpg"
).
into
(
amangourimg
);
Picasso
.
with
(
getContext
()).
load
(
"https://insti.app/team-pics/wncc.jpg"
).
into
(
wnccimg
);
}
}
app/src/main/res/layout/fragment_about.xml
View file @
dbf57e30
This diff is collapsed.
Click to expand it.
app/src/main/res/values/strings.xml
View file @
dbf57e30
...
...
@@ -12,6 +12,9 @@
<string
name=
"Cancel"
>
Cancel
</string>
<string
name=
"gps_network_not_enabled"
>
Location is not enabled. Please turn on your location from the settings.
</string>
<string
name=
"open_location_settings"
>
Open Location Settings
</string>
<string
name=
"django_api"
>
<a
href=
"https://github.com/wncc/IITBapp"
>
Django API
</a></string>
<string
name=
"android_app"
>
<a
href=
"https://github.com/wncc/InstiApp"
>
Android App
</a></string>
<string
name=
"angular_pwa"
>
<a
href=
"https://github.com/pulsejet/iitb-app-angular"
>
Angular PWA
</a></string>
<string-array
name=
"hostels_array"
>
<item>
Hostel 1
</item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment