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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:18:21+00:00 2026-05-28T05:18:21+00:00

The Android MediaController widget is composed of a Scrollbar view and a bunch of

  • 0

The Android MediaController widget is composed of a Scrollbar view and a bunch of other views. I want to be able to get to the scrollbar and then resize it. Can someone let me know how I could access it? I can’t use findViewById() since the R.java file is in the base Android framework and not accessible in my project.

  • 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-28T05:18:22+00:00Added an answer on May 28, 2026 at 5:18 am

    Using getIdentifier(), I can get the ID of the widget by querying the resources. This way, even if the ID changes from device to device or version to version, it’ll be looking for the correct ID.

    final int topContainerId = getResources().getIdentifier("mediacontroller_progress", "id", "android");
    final SeekBar seekbar = (SeekBar) mMediaControlsView.findViewById(topContainerId);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Android Calendar App I need to be able to implement a view similar to
I want done button in Android Mediacontroller as in iPhone Mediaplayercontroller by default. Is
Android is based on Linux; can native Linux applications be run on Android?
Android comes with lots of system resources ( android.R ) that can be used
'Android Design' site is recommending 'Boundary feedback' for scrollable view. http://developer.android.com/design/style/touch-feedback.html https://i.stack.imgur.com/TuBkX.png is there
I can't figure out why I'm not able to play the video in my
I want to use a custom media controller in my Android app and therefore
Android applications can specify intent-priority. How does android handle security situation such as following.
Android Market app purchases have a 15-min grace period when a customer can cancel
I've created a layout.xml file with the following XML, but I can't get the

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.