drawerlayout Questions
8
Solved
I have an application, in which i want to implement a double drawer - one from the left and one from the right. Left drawer is for app navigation, right drawer is for result filtering.
So, the lay...
Kind asked 25/7, 2013 at 15:5
16
Solved
I'd like to create a full width navigation drawer. Setting layout_width to match_parent on @+id/left_drawer yields in width of about 80% of screen space. This seems to be the standard behavior. Do ...
Aspirant asked 25/5, 2013 at 21:59
5
Solved
I am wondering how do we change the spacing between the icon and the text?
Is it doable?
Any thoughts?
Thank you
Lynlyncean asked 14/2, 2016 at 13:42
5
Solved
public DrawerProfile(Context context) {
super(context);
HeaderImageView = new ImageView(context);
HeaderImageView.setVisibility(VISIBLE);
HeaderImageView.setScaleType(ImageView.ScaleType.CENTE...
Lent asked 12/8, 2016 at 18:42
8
Solved
I am using a android.support.v4.widget.DrawerLayout in my activity.
As long as I use the swipe gesture to open it, it works fine.
However, when I want to open it through a button click by calling ...
Misrepresent asked 6/8, 2013 at 19:10
6
Solved
I'd like to build a navigation drawer where each item has a different selection color (the icon tint and text color) as the google play store has:
I'm not sure how they've solved this, I think t...
Literature asked 21/6, 2015 at 18:21
8
Solved
So I have tabs that I want to hide when the Navigation Drawer starts opening. The code I have hides them when it finished opening, but it's not what I want.
mDrawerToggle = new ActionBarDrawerTogg...
Gunfire asked 29/4, 2014 at 19:8
5
Solved
While I'm doing something on my app, I see that the navigation drawer on my app reduced its size. But I'm not doing anything on that.
Then, after checking the code, I saw that setDrawerListener ...
Appliance asked 25/2, 2016 at 22:14
2
Solved
I created a layout with parallax effect which I use in a fragment.
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http:/...
Efficacy asked 21/7, 2016 at 10:1
2
Solved
My android project contains 2 navigation drawers. One from right side, other from left. It open with click of button using this:
if (mDrawerLayout.isDrawerOpen(mRightDrawerView))
mDrawerLayout.c...
Rubble asked 16/4, 2014 at 12:49
1
Solved
I've got an issue concerning the implementation of a Drawer Layout with Navigation component.
I have created the drawer layout using the include Navigation Drawer Activity of Android Studio.
Actual...
Splashboard asked 17/8, 2020 at 12:53
6
Solved
I have a navigation drawer like this.
What I want to do is open my drawer to fullscreen not half screen.
How do I make this drawer to open as full screen?
This is xml of drawerlayout
<?xml ve...
Decay asked 18/5, 2017 at 10:19
9
Solved
I wanna achieve something like this shown in the Material Design Docs.
colorControlHighlight is used for the Background on checked items.
I need to customize:
background unchecked
text color ch...
Implore asked 2/6, 2015 at 10:52
7
Solved
How to make the drawer layout be below the actionbar/toolbar? I'm using v7:21 app compat library with the new ToolBar view.
Examples that I see looks like
<android.support.v4.widget.DrawerLayo...
Varied asked 20/10, 2014 at 11:14
7
Solved
I have a navigation bar without any actionbar (I don't want an actionbar). I'm trying to make it so that I have a button that can open the navigation drawer.
I know there's a method called openDr...
Aphanite asked 23/7, 2013 at 21:39
2
I have created an application that has a navigation view.
when the application in fullscreen then I open that navigation-view that shows me the black overlay on top of navigation-view and also sho...
Dictation asked 6/1, 2020 at 12:51
7
Solved
toolbar.setNavigationOnClickListener this function is not working have no clue why.
activity_main.xml Layout
<android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.and...
Impolitic asked 24/10, 2015 at 16:0
5
I have a problem with obtaining on-click effect visible at my drawer.
I have activity xml layout as follows:
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayo...
Amersfoort asked 7/6, 2017 at 14:34
8
Solved
I'm working on the Navigation Drawer for Android.
As per my requirement I was to display gridview and listview of items in the navigation drawer. I have created a linearLayout in the layout xml fil...
Taciturnity asked 30/7, 2013 at 6:31
8
I've done numerous searches on this topic. I have done the following:
Made sure the support library was up to date via the SDK Manager.
Went into the build path and the order and export tab to ma...
Nilsanilsen asked 25/2, 2014 at 17:15
6
I want let NavigationView check one item when app startup. But i found NavigationView.setCheckedItem(R.id.xxx) not working. And i also tried navigationView.getMenu().findItem(R.id.xxx).setChecked(t...
Cryptoclastic asked 12/10, 2016 at 5:29
4
Solved
I just updated the support design library from 22.2.1 to 23.0.1 and immediately noticed the presence of a scrollbar in the navigation drawer. I tried to use
android:scrollbars="none"
But that d...
Jerejereld asked 19/9, 2015 at 21:12
1
I'm trying to create a ripple with rounded corners for the Drawer items. However, I can't figure out how to achieve that. I tried to create a custom ripple and assign it to the NavigationView throu...
Proconsul asked 17/4, 2019 at 23:7
2
Solved
Anyone having idea that how to achieve this type of transition. When we open Navagation drawer full screen is getting animation like this. I also looked at reside menu but here menu is predefined n...
Hidrosis asked 25/1, 2017 at 4:37
2
Solved
I just came across this app and saw this custom animation for a DrawerLayout.
I'm guessing it has to take a screenshot first, then draw a custom View in the Activity, but I'm not sure about that, n...
Erudition asked 19/5, 2016 at 22:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.