We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da10d2 commit 3d0cc6cCopy full SHA for 3d0cc6c
app/src/main/java/com/teamtreehouse/oslist/MainActivity.java
@@ -1,5 +1,6 @@
1
package com.teamtreehouse.oslist;
2
3
+import android.content.res.Configuration;
4
import android.os.Bundle;
5
import android.support.v4.widget.DrawerLayout;
6
import android.support.v7.app.ActionBarActivity;
@@ -78,6 +79,12 @@ protected void onPostCreate(Bundle savedInstanceState) {
78
79
mDrawerToggle.syncState();
80
}
81
82
+ @Override
83
+ public void onConfigurationChanged(Configuration newConfig) {
84
+ super.onConfigurationChanged(newConfig);
85
+ mDrawerToggle.onConfigurationChanged(newConfig);
86
+ }
87
+
88
@Override
89
public boolean onCreateOptionsMenu(Menu menu) {
90
// Inflate the menu; this adds items to the action bar if it is present.
0 commit comments