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 8563341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:56:19+00:00 2026-06-11T16:56:19+00:00

I have an image and I’ve included it as an ImageButton (but ImageView would

  • 0

I have an image and I’ve included it as an ImageButton (but ImageView would probably be fine as well). It looks like soemthing that is to be dragged up, in order to switch to the Settings interface. I’ve been researching this for days, looking at lots of pages on the question (many of them concerning ViewPager), but none of them was clear – some of them say “use class X”, others just assume I know tons of things I don’t. There was a few ones that actually worked, but they were horizontal. The vertical ones I found were incomprehensible and unexplained. Can anyone explain it in an understandable manner, please?

Basically what I need is:

  • I have layout.xml and layout2.xml;
  • there is an image on the bottom part of layout.xml;
  • as the user slides that image up, layout2 comes from the bottom;
  • If the user went past 50% (or something like that) when he released the image, it slides all the way up. If the user was at or before 50%, it goes all the way back.
  • 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-11T16:56:20+00:00Added an answer on June 11, 2026 at 4:56 pm

    Android has a built-in widget called a SlidingDrawer to do just that. In your case, the image at the bottom of layout.xml would be considered the “handle,” and layout2.xml would be the “content.” The handle can be any type of widget, be it a Button, ImageButton, ImageView, etc. If you touch or slide the handle, it will slide to cover the screen as you described.

    The Android documentation in the link above explains it pretty well, but I can try to explain a bit more if you have specific questions

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

Sidebar

Related Questions

I have image and would like to call a method that is store in
I have image map that can I move, but this map will be so
I have image URLs like http://example.com/someimage.png - how do I fetch that image and
I have image that needs to be scrolled in uiscrollview but scrolling needs to
I have image intensive listviews that I need to GC, normally it would be
I have image references that look like this: src=../../Images/backup5.jpg . This matches the project
I have image Array with two images out of that first image its showing
i have a div that it have image content .i wanna implement animation when
So I have Image like this (source: de-viz.ru ) I want to get something
So I have Image like this (source: de-viz.ru ) I want to get something

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.