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
f9393d50
Commit
f9393d50
authored
Jul 09, 2018
by
Sajal Narang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/unstablebrainiac/IITB-App
parents
d710f4bb
3eb2678e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
7 deletions
+11
-7
app/src/main/java/app/insti/fragment/MessMenuFragment.java
app/src/main/java/app/insti/fragment/MessMenuFragment.java
+6
-2
app/src/main/res/layout/fragment_about.xml
app/src/main/res/layout/fragment_about.xml
+4
-5
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/java/app/insti/fragment/MessMenuFragment.java
View file @
f9393d50
...
...
@@ -83,7 +83,9 @@ public class MessMenuFragment extends BaseFragment {
@Override
public
void
onItemSelected
(
AdapterView
<?>
adapterView
,
View
view
,
int
i
,
long
l
)
{
if
(
i
==
16
)
displayMenu
(
"Tansa"
);
displayMenu
(
"tansa"
);
else
if
(
i
==
17
)
displayMenu
(
"qip"
);
else
displayMenu
(
Integer
.
toString
(
i
+
1
));
}
...
...
@@ -94,8 +96,10 @@ public class MessMenuFragment extends BaseFragment {
}
});
if
(
hostel
.
equals
(
"
T
ansa"
))
if
(
hostel
.
equals
(
"
t
ansa"
))
hostelSpinner
.
setSelection
(
16
);
else
if
(
hostel
.
equals
(
"qip"
))
hostelSpinner
.
setSelection
(
17
);
else
hostelSpinner
.
setSelection
(
Integer
.
parseInt
(
hostel
)
-
1
);
}
...
...
app/src/main/res/layout/fragment_about.xml
View file @
f9393d50
...
...
@@ -430,7 +430,7 @@
android:layout_height=
"wrap_content"
android:layout_marginStart=
"20dp"
android:gravity=
"center"
android:text=
"Abhij
ee
t Tomar"
android:text=
"Abhij
i
t Tomar"
android:textSize=
"13sp"
android:textStyle=
"bold"
/>
...
...
@@ -451,7 +451,7 @@
android:layout_marginStart=
"25dp"
android:gravity=
"center"
android:textSize=
"13sp"
android:text=
"Dheerendra Rathor
e
"
android:text=
"Dheerendra Rathor"
android:textStyle=
"bold"
/>
</LinearLayout>
...
...
@@ -463,16 +463,15 @@
android:gravity=
"center"
android:orientation=
"horizontal"
>
<de.hdodenhof.circleimageview.CircleImageView
android:id=
"@+id/
amangou
rimg"
android:id=
"@+id/
ranvee
rimg"
android:layout_width=
"75dp"
android:layout_height=
"75dp"
android:layout_gravity=
"center"
android:layout_marginEnd=
"45dp"
/>
<de.hdodenhof.circleimageview.CircleImageView
android:id=
"@+id/
ranvee
rimg"
android:id=
"@+id/
amangou
rimg"
android:layout_width=
"75dp"
android:layout_height=
"75dp"
android:layout_gravity=
"center"
...
...
app/src/main/res/values/strings.xml
View file @
f9393d50
...
...
@@ -34,5 +34,6 @@
<item>
Hostel 15
</item>
<item>
Hostel 16
</item>
<item>
Tansa House
</item>
<item>
QIP
</item>
</string-array>
</resources>
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