Questions tagged [android-drawer]
98 questions
0
votes
1 answer
0
votes
0 answers
how to create react native drawer using tailwind according to this ui
Guys I am stuck here and I cant understand what to do. I have created an drawer menu in react native using nativewind, here's the code and image
import React from "react";
import {
View,
Text,
Image,
ScrollView,
Pressable,
Animated,
…
0
votes
0 answers
How to use Canvas to draw smooth line to link views
How to use Canvas to draw smooth line to link views exactly like the image below. It looks like there is a curve being created in specific places.

Sundos Altamimi
- 29
- 1
- 1
- 12
0
votes
1 answer
Frame Layout keep stacking over, how to refresh them
Inside the DrawerLayout in FrameLayout when I click the item of Navigation Menu, they keep clashing and stacking over each other, so what do I do?
This is my Java code for loading fragment in the onNavigationItemSelected
Here the Frame Layout is…

Shubham
- 1
- 3
0
votes
1 answer
Button click event not working in a included activity, inside another activity
I have parent activity with drawerlayout, in it's xml I put dashboard layout using include tag and in xml of this dashboard layout I put 'MainActivity' using include tag again. In the xml of MainActivity there is button, for which in onclick I put…

Anand
- 1
- 1
0
votes
1 answer
Android Layout not displayed or displayed below the previous layout
I am building an app which is supposed to have an activity with fragments inside.
The overall display works but when I try to show a loading screen, it's never displayed. When I am taping on the top bar, it supposed to display another fragment but…

Seb
- 2,929
- 4
- 30
- 73
0
votes
1 answer
PaintColor won't change on android Drawing app
Hi everybady hope your are fine
i have a litle problem in my very basic Drawing android app
i have an Image Button to change PaintColor but the problem is :the Color is Change for just milisecond then it come back to the basic color witch define in…

منوعات
- 11
- 1
0
votes
2 answers
How to close the Navigation drawer in android
My application has a navigation drawer. From drawer options, I am opening different activities. At that time a blank screen is displayed before the new Activity.
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {
switch…

Malhotra
- 221
- 3
- 13
0
votes
2 answers
Android Custom Navigation Drawer has weird backstack
I have an app similar to Android Studios Navigation Drawer Activity:
My activity uses Android Architecture Navigation Components & a navigation drawer to navigate between different fragments.
As the navigation drawer is pretty custom i can't use the…

m.reiter
- 1,796
- 2
- 11
- 31
0
votes
1 answer
NavigationView Header view items null
I have NavigationView like this in XML code:
android:id="@+id/activityMainNavigationView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
app:headerLayout="@layout/nav_header"
…

Zookey
- 2,637
- 13
- 46
- 80
0
votes
1 answer
How to update username and email filed in Mikepenz drawer android
// Create the AccountHeader
AccountHeader headerResult = new AccountHeaderBuilder()
.withActivity(this)
.addProfiles(
new…

Pitchai Mari
- 91
- 6
0
votes
5 answers
How to open side navigation in full screen
I have added navigation drawer in my app, and it opens like following
But i want to open the drawer to full width like following.
I checked some answers on SO, and set margin to -64dp but that didn't help, is it possible to set width of navigation…

dev90
- 7,187
- 15
- 80
- 153
0
votes
1 answer
Android NavigationView drawer set minimum drag amount to open
How do you make the Drawer to auto-open (instead of back auto-close) when you drag it even with a little amount? Like maybe 10% of the screen width for example, then we release our finger and the drawer will be opened. How do we can achieve it?

Taufik Nur Rahmanda
- 1,862
- 2
- 20
- 36
0
votes
1 answer
How to make RecyclerView inside drawer?
I'm new in Android.
I have large amount of records on server and I want to show them in android app. I think about make drawer with recycle view inside and load hundreds of records to RecyclerView.
1) Is it correct way to show such amount of…

Nikolay Podolnyy
- 931
- 10
- 19
0
votes
1 answer
How to perform the navigation in Android Studio?
I am developing an Android application by using MySQL. There i am using a class called selector.java which perform the navigation for login and registration.
selector.java
import android.content.Intent;
import android.os.Bundle;
import…
user10368830