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
15e0264a
Commit
15e0264a
authored
Jul 31, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix disappearing search box on drawer open
parent
0445d2fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
app/src/main/java/app/insti/fragment/MapFragment.java
app/src/main/java/app/insti/fragment/MapFragment.java
+0
-30
No files found.
app/src/main/java/app/insti/fragment/MapFragment.java
View file @
15e0264a
...
@@ -253,7 +253,6 @@ public class MapFragment extends Fragment implements TextWatcher,
...
@@ -253,7 +253,6 @@ public class MapFragment extends Fragment implements TextWatcher,
Locations
mLocations
=
new
Locations
(
venues
);
Locations
mLocations
=
new
Locations
(
venues
);
data
=
mLocations
.
data
;
data
=
mLocations
.
data
;
markerlist
=
new
ArrayList
<
com
.
mrane
.
data
.
Marker
>(
data
.
values
());
markerlist
=
new
ArrayList
<
com
.
mrane
.
data
.
Marker
>(
data
.
values
());
setUpDrawer
();
setupMap
();
setupMap
();
// Setup locate button
// Setup locate button
...
@@ -338,35 +337,6 @@ public class MapFragment extends Fragment implements TextWatcher,
...
@@ -338,35 +337,6 @@ public class MapFragment extends Fragment implements TextWatcher,
getActivity
().
findViewById
(
R
.
id
.
loadingPanel
).
setVisibility
(
View
.
GONE
);
getActivity
().
findViewById
(
R
.
id
.
loadingPanel
).
setVisibility
(
View
.
GONE
);
}
}
private
void
setUpDrawer
()
{
Toolbar
mToolbar
=
(
Toolbar
)
getActivity
().
findViewById
(
R
.
id
.
toolbar
);
actionBarView
=
getActivity
().
findViewById
(
R
.
id
.
toolbar
);
mDrawerLayout
=
(
DrawerLayout
)
getActivity
().
findViewById
(
R
.
id
.
drawer_layout
);
mDrawerToggle
=
new
ActionBarDrawerToggle
(
getActivity
(),
mDrawerLayout
,
mToolbar
,
R
.
string
.
drawer_open
,
R
.
string
.
drawer_close
)
{
/** Called when a drawer has settled in a completely closed state. */
public
void
onDrawerClosed
(
View
view
)
{
super
.
onDrawerClosed
(
view
);
editText
.
setVisibility
(
View
.
VISIBLE
);
setCorrectIcons
();
}
/** Called when a drawer has settled in a completely open state. */
public
void
onDrawerOpened
(
View
drawerView
)
{
super
.
onDrawerOpened
(
drawerView
);
editText
.
setVisibility
(
View
.
GONE
);
}
};
mDrawerLayout
.
setDrawerListener
(
mDrawerToggle
);
}
@Override
@Override
public
void
onConfigurationChanged
(
Configuration
newConfig
)
{
public
void
onConfigurationChanged
(
Configuration
newConfig
)
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
...
...
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