Top "Android-selector" questions

Confusion in "smallest width dp" in Android

I am learning how to use "smallest width dp" to support different screens using this in android. i get that …

android android-selector
Android - State Selector Animations - Only animate de-press, NOT press

I have a very basic selector that I am using as the background for some buttons to achieve down states. …

android android-animation android-button android-selector android-background
How to define bold in an Android selector?

In my Android app I've got a couple radion buttons which should get a different color and become bold upon …

java android android-selector
Disable button with button selector

I have a button selector that changes the button image when it is pressed. I have also set an image …

android android-button android-selector
Android drawSelectorOnTop with GridView

I am developing a tabbed application in which one of the fragments, CollectionsFragment, contains a GridView with an ImageView in …

java android android-gridview android-selector
set Selector for Button Programmatically issues

I have a row of buttons and i am setting their selectors for background and text programatically. The reason i …

android xml android-selector
GridView item list selector for multiple items not working in Android

I want to draw selector on long press as shown in the picture. When I do long press on one …

android android-layout android-gridview android-selector
Confusion with "smallest width 600 dp" selector

In my application I am supporting phone/tablet form factors and to have individual layouts I use selector "layout" (for …

android android-selector
TabLayout selected Tab icon is not selected on start up

I'm using a TabLayout for Tabbed navigation in my app. I have a really weird issue with it, I have …

android tabs icons android-tablayout android-selector
Android: can you have a ripple effect whose default state color is transparent?

Something like the following, but it doesn't work. If I switch the drawable color to something like blue, it works. &…

android android-layout android-view android-selector