[android-developers] Cannot get selector to display 'disabled' state image

2010-04-13 Thread mnuetzm...@handmark.com
I have an adapter that returns the following layout as one of the views, http://schemas.android.com/apk/res/android"; android:id="@+id/date_selector_1" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="60dip" android:background="@drawab

[android-developers] CLOSE_WAIT status never clears

2011-01-05 Thread mnuetzm...@handmark.com
I am using the HttpURLConnection class to make my http requests to get data and I am noticing that some OS tools show my app as remaining in a CLOSE_WAIT status no matter how long I wait. Here is a sample of the code I use to make the request, URL url = new URL(strURL); UR

[android-developers] Re: How do I set the selected state of an item in a gallery (the correct way)

2010-07-26 Thread mnuetzm...@handmark.com
thanks Joseph... i have no idea why the selector background does not JUST WORK... I ended up having to 'force' the right backround in the onItemSelected callback and in the getView of the adpater when the position == selected position of the gallery. If anyone else knows why this is not working

[android-developers] Controlling a TextView's textColor behavior

2011-01-03 Thread mnuetzm...@handmark.com
I have a LinearLayout that contains an ImageView and two TextViews that is returned by my ListView item adapter. I know this has been asked many times and I am following the advice I have found so far but have a small yet elusive problem with the color of the TextViews. The ListView has a selecto

[android-developers] Re: Controlling a TextView's textColor behavior

2011-01-03 Thread mnuetzm...@handmark.com
Note: if I just set the textColor of the TextViews to a single color I DO NOT have the problem with the background of the TextViews. It is only when I use the ColorStateList xml that this behavior is seen. On Jan 3, 3:07 pm, "mnuetzm...@handmark.com" wrote: > I have a LinearLayout