This commit is contained in:
parent
9709c873e3
commit
9879b3f19f
1 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,7 @@ import android.view.MenuItem;
|
||||||
import android.view.SubMenu;
|
import android.view.SubMenu;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
import android.widget.ImageButton;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
|
@ -184,6 +185,13 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
||||||
drawer.openDrawer(GravityCompat.START);
|
drawer.openDrawer(GravityCompat.START);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// private View.OnLongClickListener onLongClickListener = new View.OnLongClickListener() {
|
||||||
|
// @Override
|
||||||
|
// public boolean onLongClick(View v) {
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
|
// };
|
||||||
|
|
||||||
private void updateMRU() {
|
private void updateMRU() {
|
||||||
Menu menu = navigationView.getMenu();
|
Menu menu = navigationView.getMenu();
|
||||||
MenuItem recentsMenuItem = menu.findItem(R.id.nav_item_recents);
|
MenuItem recentsMenuItem = menu.findItem(R.id.nav_item_recents);
|
||||||
|
|
Loading…
Reference in a new issue