mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-12-04 13:58:11 -05:00
Add a menu button for the Home page
This commit is contained in:
parent
3f5fafb7a7
commit
9085b79d4a
@ -6,6 +6,7 @@
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_alert_settings"
|
||||
android:icon="@drawable/ic_action_settings"/>
|
||||
<item android:id="@+id/action_home" android:title="Home"></item>
|
||||
|
||||
|
||||
|
||||
|
@ -35,6 +35,9 @@ public class MenuActivity extends Activity {
|
||||
case R.id.action_parking:
|
||||
startActivity(new Intent(this, Parking.class));
|
||||
break;
|
||||
case R.id.action_home:
|
||||
startActivity(new Intent(this, Home.class));
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user