Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Where to find Seekbar drawable "scrubber_control_normal_holo"

My primary problem is I want to increase the size of the thumb of the Seekbar, so I found this post: Changing size of seekbar thumb

From there it said i can create thumb_size.xml and add the below code inside:

<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >

<item>
    <shape>
        <size
            android:height="40dp"
            android:width="40dp" />

        <solid android:color="@android:color/transparent" />
    </shape>
</item>
<item android:drawable="@drawable/scrubber_control_normal_holo"/>

However then the Android Studio give me error message saying that it cannot find the

scrubber_control_normal_holo

Then I find this post: Android: Where to find the RadioButton Drawable?

However in my SDK folder /platforms/android-17/data/res/drawable folder, I still cannot find this file, I can only find something like:

seek_thumb.xml

but when I try to use it, it still give me error.

like image 317
eepty Avatar asked Mar 08 '23 07:03

eepty


1 Answers

At last I can find the resource images in the following folders (for different device size):

  • SDK folder\platforms\android-17\data\res\drawable-hdpi
  • SDK folder\platforms\android-17\data\res\drawable-mdpi
  • SDK folder\platforms\android-17\data\res\drawable-xhdpi
  • SDK folder\platforms\android-17\data\res\drawable-xxhdpi
  • SDK folder\platforms\android-17\data\res\drawable-xxxhdpi
like image 174
eepty Avatar answered Apr 06 '23 02:04

eepty