disable survey menu
This commit is contained in:
parent
1c0eb9f803
commit
c81536ac46
2 changed files with 4 additions and 1 deletions
|
@ -345,9 +345,11 @@ public class MainActivity extends NoSplashAppCompatActivity {
|
||||||
startActivity(i);
|
startActivity(i);
|
||||||
}, null);
|
}, null);
|
||||||
return true;
|
return true;
|
||||||
|
/*
|
||||||
case R.id.nav_survey:
|
case R.id.nav_survey:
|
||||||
startActivity(new Intent(this, SurveyActivity.class));
|
startActivity(new Intent(this, SurveyActivity.class));
|
||||||
return true;
|
return true;
|
||||||
|
*/
|
||||||
case R.id.nav_stats:
|
case R.id.nav_stats:
|
||||||
startActivity(new Intent(this, StatsActivity.class));
|
startActivity(new Intent(this, StatsActivity.class));
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -22,10 +22,11 @@
|
||||||
android:id="@+id/nav_stats"
|
android:id="@+id/nav_stats"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
android:title="@string/statistics" />
|
android:title="@string/statistics" />
|
||||||
<item
|
<!-- <item
|
||||||
android:id="@+id/nav_survey"
|
android:id="@+id/nav_survey"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
android:title="@string/nav_survey" />
|
android:title="@string/nav_survey" />
|
||||||
|
-->
|
||||||
<item
|
<item
|
||||||
android:id="@+id/nav_about"
|
android:id="@+id/nav_about"
|
||||||
app:showAsAction="never"
|
app:showAsAction="never"
|
||||||
|
|
Loading…
Reference in a new issue