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.
The Android MediaController widget is composed of a Scrollbar view and a bunch of
Share
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.