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
89a489aa
Commit
89a489aa
authored
Feb 18, 2019
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(map): Hide inside tab when nothing inside
parent
878c6d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
app/src/main/java/app/insti/fragment/MapFragment.java
app/src/main/java/app/insti/fragment/MapFragment.java
+8
-0
No files found.
app/src/main/java/app/insti/fragment/MapFragment.java
View file @
89a489aa
...
...
@@ -660,6 +660,14 @@ public class MapFragment extends Fragment implements TextWatcher,
parent
);
View
headerLayout
=
childrenView
.
findViewById
(
R
.
id
.
header_layout
);
/* Skip if we have no children */
if
(
building
.
children
.
length
==
0
)
{
headerLayout
.
setVisibility
(
View
.
GONE
);
return
;
}
headerLayout
.
setVisibility
(
View
.
VISIBLE
);
TextView
headerName
=
(
TextView
)
childrenView
.
findViewById
(
R
.
id
.
list_header
);
String
headerText
=
"Inside "
;
...
...
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