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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:41:01+00:00 2026-05-20T12:41:01+00:00

I want to implement video panel in android in which i want to create

  • 0

I want to implement video panel in android in which i want to create a task panel which contain command such like play, pause. i have created a layout for this is

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" 
android:id="@+id/layout">
<VideoView
    android:id="@+id/videoView"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
/>
<TextView
    android:id="@+id/timer"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="top|left"
    android:textColor="@color/RED"
    android:text="HI"></TextView>
    <RelativeLayout 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:id="@+id/rLayoutCameraButtons" 

    android:layout_gravity="center|bottom">
        <SeekBar
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_margin="10px"
            android:id="@+id/seekbar"
            android:max="100"
            android:layout_alignParentTop="true"
        />
        <RelativeLayout
         android:id="@+id/rlayout_buttons"
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
         android:layout_below="@+id/seekbar"
         >
        <Button 
            android:id="@+id/buttonPlay" 
            android:text="Play" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_centerInParent="true">
        </Button>
        <Button 
            android:layout_alignParentLeft="true" 
            android:id="@+id/buttonStop" 
            android:text="Stop" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content">
        </Button>
        <Button 
            android:id="@+id/buttonPause" 
            android:text="Pause" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_alignParentRight="true" >
        </Button>
        </RelativeLayout>           
    </RelativeLayout>

i want to hide auto hide my relative layout withing 5 sec from the last touch on that
also i want to make it appear on touch on that area where it existed. not getting any idea
plz help

  • 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-20T12:41:01+00:00Added an answer on May 20, 2026 at 12:41 pm

    Are you aware of MediaController? If you don’t need to customize your panel too much, it’s the simple and elegant solution you’re looking for. You can simply start with:

    myVideoView.setMediaController(new MediaController(this));
    

    Here‘s an example of the MediaController being used in the 3D Gallery app.

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

Sidebar

Related Questions

I want to implement an ISAPI filter like feature using HttpModule in IIS7 running
I want to implement a simple debug log, which consists of a table into
I want to make a program which takes video and audio and merges them.
I have implemented application in which i am using tabs and want to fetch
I want to implement the floating window in the html which it has scroll
I want to implement like this: namespace PIMP.Web.TestForum.Models { public class ThreadModel : PagedList<T>
I want to implement a properties table in jtable (swing). I want to have
I am using php and i want to create a video gallery. THe videos
I have got an assignment in which I have to implement a AS3 wrapper
I want to implement search functionality for a website (assume it is similar to

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.