?android:attr/selectableItemBackground

前端 未结 1 1254
野性不改
野性不改 2020-12-10 12:48

when writing my android app i used

android:background=\"?android:attr/selectableItemBackground\"

I tried looking for attr.xml file that wou

相关标签:
1条回答
  • 2020-12-10 13:06

    I'm not that experienced with Android, but I think you can find what you're looking for in "data\res\values\themes.xml".

    If you search in that file for "selectableItemBackground", you should find the following:

    <style name="Theme">
    ...
            <item name="selectableItemBackground">@android:drawable/item_background</item>
    ...
    </style>
    

    You'll also find respective entries for Theme.Holo.Light and Theme.Holo. The *"item_background"*, *"item_background_holo_light"*, and *"item_background_holo_dark"* drawables would be located in the "data\res\drawable" folder.

    Hope that helps!

    0 讨论(0)
提交回复
热议问题