diff --git a/S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 6754dad240..9ee45190d6 100755 --- a/S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S09.04-Exercise-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -79,7 +79,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 6754dad240..9ee45190d6 100755 --- a/S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S09.04-Solution-UsingCursorLoader/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -79,7 +79,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 75ba586911..ad4b50781f 100755 --- a/S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S09.05-Exercise-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -93,7 +93,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java index f4af839a02..413c556bc7 100755 --- a/S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S09.05-Solution-MoreDetails/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -144,7 +144,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.01-Exercise-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.01-Solution-SynchronizingTheWeather/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.02-Exercise-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.03-Exercise-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.04-Exercise-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ad23592dbd..ad5ecddfee 100755 --- a/S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S10.04-Solution-Notifications/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -133,7 +133,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 9810820963..fa92b15a00 100755 --- a/S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.01-Exercise-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 9810820963..fa92b15a00 100755 --- a/S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.01-Solution-NewListItemLayout/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 9810820963..fa92b15a00 100755 --- a/S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.02-Exercise-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 9810820963..fa92b15a00 100755 --- a/S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.02-Solution-TodayListItem/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -141,7 +141,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java index ff2d2de859..0279f967b7 100755 --- a/S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.03-Exercise-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -144,7 +144,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 85b3712704..798c9dbd1d 100755 --- a/S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S11.03-Solution-DetailLayoutAndDataBinding/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -132,7 +132,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.01-Exercise-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.01-Solution-DimensionsColorsAndFonts/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.02-Exercise-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.02-Solution-Styles/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.03-Exercise-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.03-Solution-TouchSelectors/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 7dfa807ae4..d9018f2d37 100755 --- a/S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.04-Exercise-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; } diff --git a/S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java b/S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java index 3f7df8bd54..3b94156805 100755 --- a/S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java +++ b/S12.04-Solution-ResourceQualifiers/app/src/main/java/com/example/android/sunshine/DetailActivity.java @@ -127,7 +127,7 @@ public boolean onCreateOptionsMenu(Menu menu) { /* Use AppCompatActivity's method getMenuInflater to get a handle on the menu inflater */ MenuInflater inflater = getMenuInflater(); /* Use the inflater's inflate method to inflate our menu layout to this menu */ - inflater.inflate(R.menu.forecast, menu); + inflater.inflate(R.menu.detail, menu); /* Return true so that the menu is displayed in the Toolbar */ return true; }