mirror of
https://github.com/bspeice/UNCCGameDay
synced 2024-11-05 07:38:13 -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:showAsAction="ifRoom"
|
||||||
android:title="@string/action_alert_settings"
|
android:title="@string/action_alert_settings"
|
||||||
android:icon="@drawable/ic_action_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:
|
case R.id.action_parking:
|
||||||
startActivity(new Intent(this, Parking.class));
|
startActivity(new Intent(this, Parking.class));
|
||||||
break;
|
break;
|
||||||
|
case R.id.action_home:
|
||||||
|
startActivity(new Intent(this, Home.class));
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user