Questions tagged [drawer]

753 questions
0
votes
2 answers

how to solve Error inflating class android.support.design.widget.NavigationView

I wanted to add navigation drawer for to my app so I created new activity and I wrote this code on class java public class MainActivity extends AppCompatActivity implements NavigationView.OnNavigationItemSelectedListener { Toolbar…
Dev Kim
  • 95
  • 1
  • 3
  • 9
0
votes
1 answer

How can I set the layout_gravity of navigation drawer fragment in base of rtl or ltr language?

I am writting my application in rtl language. I have set my navigation drawer to come from right to left when the phone language is English. But when I change the phone's language to farsi (rtl language) it brings me the error that says: "No drawer…
moji
  • 63
  • 10
0
votes
2 answers

When call zbar scanner from a button, the app freezes

I have an app with a Navigation drawer. The navigation drawer has a table with a number of cells. When the user presses a table cell, the value is store in a singleton and the drawer closes and the main screen appears. When the main screen loads, in…
MacLiamor
  • 1
  • 1
  • 3
0
votes
1 answer

Android How to load Image into CircleImageView from Device - NavigationDrawer?

I have no idea how to load image from device into CircleImageView. There are my code of nav_header_main.xml:
pank_94
  • 13
  • 7
0
votes
0 answers

how to make ui with different tabs and navigation drawer in one app?

what will be the position of viewpager tag?will it be above drawer layout ? below is the code : please reply as i am very much confused in this thing ,
dev1
  • 1
0
votes
1 answer

Google map activity and navigation drawer activity

I have my first activity splash activity. I want to implement google map in my application with navigation drawer so should I make two separate activities - google map and navigation drawer ? If I make separate activities then which should be called…
SupremeSoul
  • 21
  • 1
  • 4
0
votes
0 answers

Floating Action Button with drawer is not working

My Floating Action Button is not working with the drawer. I'm not able to click on a button and also not able to set it's position. I tried the same code in other .xml file without a drawer and it was working perfectly. I also tried with the…
Dipen Dedania
  • 1,452
  • 1
  • 21
  • 37
0
votes
1 answer

Android Navigation Drawer Set Title

I want to change the title of my Navigation Drawer when a user clicks on the particular fragment of the navigation drawer. I'm new to the world of Android Programming. So please kindly help Below is my code Main Activity Code package…
sunny
  • 127
  • 1
  • 6
0
votes
0 answers

How to add retrofit data in Material Drawer using .withBadge

I am using Material Drawer in android. I want to show my pending total qty instead of "0". It comes from server. Here is my code; SecondaryDrawerItem drawerPending = new SecondaryDrawerItem().withName(R.string.drawer_item_pending); Drawer result =…
Pyae Phyo
  • 127
  • 1
  • 1
  • 9
0
votes
1 answer

Navigation Drawer With Checkboxs

**I Put Checkbox in Navigation View and want to get the position Of true checkbox ,But when i click no checkbox its display only true and false . I need checkx position in Listview Item Click Event . I Done Almoast Xml Code , also call checkbox…
Aanal Shah
  • 273
  • 1
  • 2
  • 14
0
votes
1 answer

Android Flowing Drawer

I'm following this link and using this exact same code to make this flowing drawer but i'm using eclipse and for the life of me i can't figure out the problem. Iam using exact this code so i don't know what to post here. I'll just post my main…
ravi raghav
  • 85
  • 11
0
votes
0 answers

How to create a custom Drawer Menu with 3 views in last row

I have to create a DrawerMenu. But i sucked because in last row there are 3 different. How to create and handle 3 different view in last item.
Satya
  • 528
  • 1
  • 5
  • 9
0
votes
0 answers

The specified child already has a parent. You must call removeView() on the child's parent first when changing fragment

Hi I have implemented the navigation drawer with Imageview but when i click on the listview to change the code it is giving me the above error can you please check my code below and let me know what is wrong in my code import…
Saurabh sharma
  • 369
  • 2
  • 13
0
votes
1 answer

Choosing a printer drawer with Python

I have a kyocera printer with 5 different drawers and I need to create a program with Python that allows you to choose which drawer will be used. In order to do that, I need to access the print settings in the control panel, and change the "drawer"…
prgrm
  • 3,734
  • 14
  • 40
  • 80
0
votes
1 answer

Get child menu from NavigationView

In the menu of my NavigationView in the drawer I have nested menu:
rommex
  • 763
  • 1
  • 8
  • 21