Questions tagged [drawer]

753 questions
0
votes
1 answer

how to add swipe left and on image click drawer Android

i want to add Drawer to my app like i i draw in this pic. is there any easy way to do so ? i am not using material UI. started from empty acitivity is there any way to do so ? Check Image illustration of Drawer
0
votes
1 answer

android -How to set different background colors on selecting different items in Navigation Drawer?

I am designing a web view app on Android Studio. I have a Navigation drawer and I have been successful in making the colour change of a an item which is selected. What I want right now is to be able to assign different colours to different items…
0
votes
2 answers

close simple side drawer on back press

I use simple sidebar drawer and i want when user back pressed if drawer open close and when close activity finish. This library have not this function default. I use below code but not work :( final SimpleSideDrawer mSlidingMenu = new…
bnnoor
  • 656
  • 2
  • 13
  • 31
0
votes
1 answer

Partially close a polymer paper-drawer-panel

I am looking to create a partially collapsing drawer panel based on Google Polymer v1.0. An example can be drawn from the popular AdminLTE website theme found here: https://almsaeedstudio.com/preview In this demo, when the hamburger button is…
Jack Palkens
  • 331
  • 1
  • 2
  • 8
0
votes
4 answers

Error when I run the app on my smartphone, but its correct If I run the app on Android Studio

when I run my app in Android Studio, everything run correctly. The ListView in drawer is correctly populated by run a RushSearch() query. But when I have created the apk and I installed on my smartphone to try run the app, the ListView in Drawer at…
Dennis A. Boanini
  • 477
  • 1
  • 5
  • 19
0
votes
1 answer

How change icon an text size in my navigator drawer?

I know that there are many questions about it( and many answer, but I've created a new project with Navigation Drawer activity in android studio, And I can't see where change the properties of the menu.I want to change font size, color of icon, size…
0
votes
1 answer

Where do I put my String Array items in Main Java to make them clickable?

I am currently looking at adding a gravity drawer to my app and have been following a tutorial. My Question is I have created a string array with a list of items in res/value/strings and need to know how to add them to the menu and get the items to…
Super Sasquatch
  • 373
  • 1
  • 3
  • 12
0
votes
1 answer

Navigation Drawer right gap

in the dev guidelines they say the gap to the right displayborder shall be 56dp if the nav drawer is opened. How can I do that? Because in the xml "match_parent - 56dp" doesnt work. :D Guidelines Thx for help!
XxGoliathusxX
  • 922
  • 13
  • 34
0
votes
1 answer

How to add icons to items in the navigation drawer?

Now, the problem is, that the ArrayAdapter says, that I can't use the drawer_menu.xml because it requires the resource ID to be a TextView. If so, how do I add an icon, if I am only allowed to have a TextView in…
user5381163
0
votes
1 answer

Android Material Design navigation drawer

I've used this code. http://www.androidhive.info/2015/04/android-getting-started-with-material-design/ I want to change that. I want to open a navigation drawer on the right. in step 3.2 Adding Navigation Drawer please help. Screenshot pic
Alen Smith
  • 35
  • 8
0
votes
1 answer

Possible problematic style of Toolbar

This case is related to the following problem. In the case I believe it may be a problem with the style I'm trying to use the toolbar. I need you to stay in the Toolbar overlay, it has a drawer menu, and the lollipop operate normally, lower some…
Victor CS
  • 71
  • 3
  • 17
0
votes
1 answer

Can't make transaction in class

I have Main activity: public class GeneralActivity extends ActionBarActivity { ... } I have another class in which I create a drawer, I bring to the required parameters. But when I want to move to a different fragment when you click on the menu…
metalink
  • 594
  • 2
  • 8
  • 21
0
votes
2 answers

Tab fragment is loading but not showing up

I have a fragment in Navigation Drawer project. It contains 7 tabs. When i clicked on tabs it should show fragment below the tabs. Fragment loads but does not show up. Fragment code that contains the tabs can be found @ http://pastebin.com/SAARGWLh…
Bishwash
  • 854
  • 1
  • 9
  • 22
0
votes
1 answer

Implementing Navigation drawer along Sliding tabs

I was trying to implement navigation drawer along with Sliding tabs! My app is crashing! I think there is some error with Navigation drawer Fragment or Activity_Main.xml Project files Here is a logcat: Log Cat
Subham Gupta
  • 341
  • 4
  • 8
0
votes
0 answers

Animate view and set button backgroundimage conflict

I am making a type of drawer animation for iOS where a button tap in one of my views will expand that view over the other views from the bottom up. All is well, except when I want to change the button image after animation. The animation completes…
rhmac25
  • 256
  • 3
  • 12