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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:42:40+00:00 2026-05-15T05:42:40+00:00

I am writing an app that allows a user to access their corporate voice

  • 0

I am writing an app that allows a user to access their corporate voice mail system. the voice mails are displayed in a list view and when one is selected they are given a menu. when the user selects “listen” i would like a small media player to pop up at the bottom of the screen on top of the existing ListView (similar to how the soft keyboard comes up when needed and then goes away when its done).

options?

  • 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-05-15T05:42:41+00:00Added an answer on May 15, 2026 at 5:42 am

    Add all your views (ie: your ListView) to a RelativeLayout put your media players layout elements at the bottom and set their visibility to gone.

    <RelativeLayout
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      >
    
      <ListView
        android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        />
    
      <RelativeLayout
        android:id="@+id/mediaPopup"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true" 
        android:visibility="gone"
        >
        <TextView
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:text="I am a media player!"
          />
      </RelativeLayout>
    
    </RelativeLayout>
    

    Then in your activity class you can animate on your view like this:

    function void showMediaPlayer() {
    
      if(mMediaPopUp.getVisibility() == View.GONE) {
    
        // Show Media Player
        TranslateAnimation mAnimUp = 
          new TranslateAnimation(
            Animation.RELATIVE_TO_SELF, 
            0, 
            Animation.RELATIVE_TO_SELF, 
            0, 
            Animation.RELATIVE_TO_SELF, 
            -(mMediaPopUp.getHeight()), 
            Animation.RELATIVE_TO_SELF, 
            0);
    
        mAnimUp.setStartOffset(500);
        mAnimUp.setDuration(500);
    
        mMediaPopUp.setVisibility(View.VISIBLE);
        mMediaPopUp.setAnimation(mAnimUp);
    
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an app that allows user to view the list of installed
I am writing an app that allows the user to select from a list
I'm writing a web app that at one point allows a user to upload
I'm writing a web application that allow user upload their files on the app.
I am writing an app that allows a user to set the phone's wallpaper
Writing the part of the app that allows the user to generate a pdf
I'm writing a simple app which allows a user to enter their income and
I am writing an app that allows the user to create custom SQL queries
I'm writing a web app, with Codeigniter, that allows a user to enter query
I'm writing an Android application that allows a user to maintain a list of

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.