Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find what ?android:attr/listChoiceIndicatorSingle points to?

I have

android:button="?android:attr/listChoiceIndicatorSingle"

on the layout for a CheckBox. I pressed F3 to take me to the definition, and it just said

    <!-- Drawable to use for single choice indicators. -->
    <attr name="listChoiceIndicatorSingle" format="reference" />

in android-sdk/platforms/android-17/data/res/values/attrs.xml. I searched the whole file and that was the only occurrence.

How do I find the drawables that it references?

like image 386
Chloe Avatar asked Sep 15 '13 06:09

Chloe


1 Answers

The value of attributes are defined in theme.xml. Check 'theme.xml' in SDK. In my case, it defined like this:

<item name="listChoiceIndicatorSingle">@android:drawable/btn_radio_holo_dark</item>
like image 135
Chansuk Avatar answered Nov 06 '22 19:11

Chansuk