Getting the Listview default clicked color, depending on the Device
问题 In my android application, I use a listview and some linear layout on wich the user can click. Of course, I had to set the background of my LinearLayout to a xml file where the stated pressed, selected are defined: myView.setBackgroundDrawable( getDrawable(android.R.drawable.list_selector_background)); So no problem I set the drawable to transparent when normal use and orange when clicked. My only problem is that on the galaxy S and some other customized phone (Sense UI) the color of the