Setting background color on row layout prevents display of highlight on select

by Stacy » Thu, 17 Jun 2010 03:23:27 GMT

Sponsored Links
 Getting closer using android:drawSelectorOnTop on the list ...only
hiccup now is that the selector is also on top of the text!


Setting background color on row layout prevents display of highlight on select

by Kumar Bibek » Thu, 17 Jun 2010 03:38:11 GMT

 You are actually overriding the default behaviour. So, you should also
handle the other states besides the default state.
Look at StateDrawables in the Android docs.

Thanks and Regards,
Kumar Bibek


Sponsored Links

Other Threads

1. database sqlite doubt

db = dbHelper.getWritableDatabase();
        table = db.rawQuery("select * from PROJECTS", null);
        boolean f = false;
        taskList = new ArrayList<String>();
        while (table.moveToNext()) {
            if (table.getString(1).equals(selectedProject)) {
                f = true;

this is a part of my code...
point is i ve created the tables properly n wen i print the column count n
row count, its all updated...
also durin insert (not shown), i ve checked the return, n it returns the
there is an exception at the line:                " if
(table.getString(1).equals(selectedProject)) { "     in the above code...

any ideas that might help me to remove the exception???


2. youtube on android

Hi All,

I want to playback youtube videos on android. I came to know (from the
below mentioned link) that adobe demostrated flash player for android,
but they haven't released the code yet.

Is there an alternative way to playback youtube video's on android ?
Is there an application that supports flash content playback on
android already (though I couldn't find any on "android market" or
related sites) or any development work is underway ?

Thanks in advance,



3. Building Android for custom hardware

4. Please enable SVG Support in the Android Webkit Browser

5. HttpUrlConnection.getOutputStream() not working on emulator windows xp

6. Database problem

7. How many Google engineers working on Android?