Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7985409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:32:49+00:00 2026-06-04T11:32:49+00:00

I am having a sliding drawer positioned at the bottom . and below that

  • 0

I am having a sliding drawer positioned at the bottom . and below that I have a linear layout of 50dp .

So my layout looks like this :

enter image description here

Where red rectangle is the sliding drawer handle

Now when I slide my finger from bottom of the screen to the sliding drawer , i.e. along the blue path

enter image description here

The sliding drawer doesn’t open . It doesn’t open because the click activity is captured by the bottom layout.
The sliding drawer opens only when I click EXACTLY within the red rectangle.

I tried making the bottom layout clickable=>false focussable=>false still no good.

Any idea on how can I make the click event of bottom layout loose its click as soon as the finger is out of the layout ? , so that the handle can capture the click

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:32:50+00:00Added an answer on June 4, 2026 at 11:32 am

    I would suggest you to create the entire linear layout (brown bottom bar) as handler for your drawer. Doing so will allow you to slide the drawer as you want in the second picture.

    Or, alternatively, you can make use of FrameLayout to present LinearLayout and drawer’s view as with in a single layout and set the width and height of your drawer as linear layout – covering the entire area of linear layout.

    Or, at last, implement SimpleOnGestureListener on linearlayout (for upwards direction) to execute drawer’s click action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two divs that are sliding from right to left. I am having
I'm having trouble getting this button to only appear under the drawer. I'm using
This is a snippet within a toggle() function. I have a header that when
Having an issue with commas and values. I have a value that keeps changing
I'm having a button in a sliding drawer in a Android Application. The problem
I'm having an issue in IE7 and below where a form that I'm toggling
I am trying to include this sliding out info panel that i created into
I'm having a problem with animate function - my html looks like: <body> <div
I have some code here: http://jsfiddle.net/zkRq2/2/ that I am having issues with. If you
I have a list of numbers and I'd like to select a sliding window

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.