Questions tagged [drawer]

753 questions
0
votes
2 answers

Add icon to navigation drawer Android

I don't know how to add icons to a drawer. Here is where I need the images (highlight in red): I have being following this tutorial. http://blog.teamtreehouse.com/add-navigation-drawer-android
nothingness
  • 694
  • 3
  • 9
  • 25
0
votes
2 answers

Android Drawer with button to open it that moves with the drawer

The question says it all. I know how to implement a drawer with the drawerlayout, but i have no idea how to place a button next to the drawer (to show the drawer) that moves along with the drawer.
Joske369
  • 505
  • 1
  • 6
  • 18
0
votes
1 answer

How to prevent the user from intercepting the closing animation on a drawer

The title basically says it all: In my code i call drawer.closeDrawers(); but when the user pushes a button in the linearlayout from the left drawer while the closing animation is running, the left drawer reopens again. I tried to set focusable and…
DennisVA
  • 2,068
  • 1
  • 25
  • 35
0
votes
0 answers

Refresh DrawerLayout from a Fragment

I have 3 classes, as follow: Drawer.java: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.action_center); CustomAdapter adapter = new CustomAdapter(this,…
user1008467
0
votes
1 answer

navigation drawer how to add image view above list view

I am working on app where I need navigation drawer .I used the code of google to develop Navigation drawer
Deep Singh
  • 147
  • 1
  • 3
  • 16
0
votes
1 answer

NavigationDrawer unable to instatiate application java.lang.classnotfoundexception

I`m developing an app. And at this part I only have an activity for my Navigation Drawer. Im trying to run but I get the same Exception everytime.. Ive searched for some time, tried a lot of things but nothing worked. Here`s my logcat: 02-23…
henrique romao
  • 560
  • 1
  • 8
  • 32
0
votes
1 answer

Changing navigation drawer icon

I have a problem, I have different activity with different background color (white or blue), also the menu icon need to be white or blue (opposite to activity background), I can't find the correct way for change it after change activity, how can I…
francesco.venica
  • 1,703
  • 2
  • 19
  • 54
0
votes
1 answer

How to create android drawer menu in Adobe Flash?

I need to build a prototype of an app, that showcases basic idea of navigation of an android app. So Adobe Flash and AIR. Quickest thing that comes to mind is flash, since I already have the mockups done in photothop, and really have an idea how to…
Sulik
  • 1
  • 1
0
votes
0 answers

Overlay for drawer

I am implementing drawer in my project. I used SWRevealViewController custom class.Its working fine.But i need to put overlay for front view. While clicking menu icon front view should be black.I want to design overlay like play store.
0
votes
1 answer

Maps in fragment crashes in sliding drawer when clicked twice on Maps item

Maps in fragment crashes in sliding drawer when clicked twice on Maps item public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.map_fine_tech,…
Deep Singh
  • 147
  • 1
  • 3
  • 16
0
votes
0 answers

using maps in fragment in sliding drawer ,want to replace old maps when again come to maps from other fragment

code for fragment of maps public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.map_fine_tech, container, false); return rootView; } …
Deep Singh
  • 147
  • 1
  • 3
  • 16
0
votes
1 answer

Fragment in Navigation Drawer not loading and makes the app crash. What can I do?

So, I built a Navigation Drawer for my program with the following code: This is the main xml:
SergioAAV
  • 75
  • 3
  • 10
0
votes
0 answers

Header of Navigation Drawer in android

I am wondering that how to implement the header on the navigation bar. Is it a kinda API or custom designed by Google? Image Link: https://redpen.io/jecac9f1638a57e44f
0
votes
2 answers

Make sections with navigation drawer

Hey i generate navigation drawer sample using the basic sample in android studio and i would like to add sections to my listview i'am a begginer so i really don't know how to do that here is the code of the navigation drawer : public class…
BtAndro
  • 71
  • 1
  • 2
  • 8
0
votes
2 answers

Change Color onClick and background on Focus

i have a ListView in my Navigation Drawer and want it looks like the Playstore App or Youtube App. Means onClick changing FontColor for Example to red and when i just hold it the background should turn grey. Do i have to use 2…
Nick
  • 135
  • 1
  • 4
  • 13