Questions tagged [android-drawer]

98 questions
0
votes
1 answer

Adding Toolbar to Navigation Drawer Example by Google - with test code and screenshot

I am trying to add Toolbar and a right drawer to the well-known Navigation Drawer Example by Google, but for some reason the Toolbar is not visible: My complete project is available at GitHub. Here is the XML layout file activity_main.xml (I do not…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
1 answer

How to make Drawer icon and logo two different button in ActionBar

I have a problem where I need to be able to click both the logo and the backarrow+hamburger/cater from my action bar. when i don't have anything in my backstack, Hamburger icon is displayed and is opening my left drawer (then via animation it…
-1
votes
2 answers

ActionBarDrawerToggle doesn't accept String as parameter

the Red line is under "Open navigation drawer" and "Close navigation drawer" import androidx.appcompat.app.ActionBarDrawerToggle; setContentView(R.layout.activity_home); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); …
saad tabban
  • 285
  • 3
  • 12
-1
votes
1 answer

How to add chevron in navigation drawer

I am using navigation drawer in my app, i have a requirement to add chevron at the end of each row like following Following is my code.
-1
votes
1 answer

How to change android navigation drawer items

My navigation drawer use a listview, so i get the listview as drawer menu. Now in my project,i want to DIY change the listview to textview,imageview . Here is drawer main layout:
Ling QI
  • 17
  • 6
-1
votes
1 answer

Navigation Icon not working by clicking

I have a simple android.support.v7.widget.Toolbar and all I am trying to do is to open a NavigationDrawer by pressing the "hamburger" icon in the top left corner. The "hamburger" button is visible, and when I start to pull from the left I see the…
-1
votes
3 answers

Custom List in Fragment wont work

So im new in Android programming I'm trying to make a custom ListView. I follow a tutorial on YouTube (https://www.youtube.com/watch?v=gAIB4fTm2BA) but i cant get it work on a fragment. public class DriverFragment extends Fragment implements…
Ervin Cosic
  • 114
  • 1
  • 12
-1
votes
1 answer

I want to add other content with navigation drawer

I am new to android. I have created a drawer layout using list view (custom list view using base adapter). this is my code activity_main.xml. When i run the application i see an empty screen. Listview is working properly. But i just need to add…
Varuni N R
  • 802
  • 3
  • 11
  • 31
1 2 3 4 5 6
7