|
|
@ -11,11 +11,11 @@ import android.graphics.drawable.BitmapDrawable;
|
|
|
|
import android.support.v7.app.ActionBarActivity;
|
|
|
|
import android.support.v7.app.ActionBarActivity;
|
|
|
|
import android.app.Activity;
|
|
|
|
import android.app.Activity;
|
|
|
|
import android.support.v7.app.ActionBar;
|
|
|
|
import android.support.v7.app.ActionBar;
|
|
|
|
import android.support.v4.app.ActionBarDrawerToggle;
|
|
|
|
|
|
|
|
import android.support.v4.view.GravityCompat;
|
|
|
|
import android.support.v4.view.GravityCompat;
|
|
|
|
import android.support.v4.widget.DrawerLayout;
|
|
|
|
import android.support.v4.widget.DrawerLayout;
|
|
|
|
import android.content.res.Configuration;
|
|
|
|
import android.content.res.Configuration;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
|
|
|
import android.support.v7.app.ActionBarDrawerToggle;
|
|
|
|
import android.view.ContextMenu;
|
|
|
|
import android.view.ContextMenu;
|
|
|
|
import android.view.KeyEvent;
|
|
|
|
import android.view.KeyEvent;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
|
import android.view.LayoutInflater;
|
|
|
@ -159,7 +159,7 @@ public class NavigationDrawerFragment extends InjectingFragment {
|
|
|
|
mDrawerToggle = new ActionBarDrawerToggle(
|
|
|
|
mDrawerToggle = new ActionBarDrawerToggle(
|
|
|
|
getActivity(), /* host Activity */
|
|
|
|
getActivity(), /* host Activity */
|
|
|
|
mDrawerLayout, /* DrawerLayout object */
|
|
|
|
mDrawerLayout, /* DrawerLayout object */
|
|
|
|
R.drawable.ic_drawer, /* nav drawer image to replace 'Up' caret */
|
|
|
|
// R.drawable.ic_drawer, /* nav drawer image to replace 'Up' caret */
|
|
|
|
R.string.navigation_drawer_open, /* "open drawer" description for accessibility */
|
|
|
|
R.string.navigation_drawer_open, /* "open drawer" description for accessibility */
|
|
|
|
R.string.navigation_drawer_close /* "close drawer" description for accessibility */
|
|
|
|
R.string.navigation_drawer_close /* "close drawer" description for accessibility */
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|