Try taking out the android:layout_below attribute from the TextView... I'm
not sure if that is the problem, but I have a feeling it is.
--
There are only 10 types of people in the world...
Those who know binary and those who
Maybe it's stupid to askbut just to make sure, does your activity extend
ListActivity? (maybe it has nothing to do with your problemdunno hehe)
On Sat, Jul 24, 2010 at 7:50 AM, Nick Richardson
richardson.n...@gmail.comwrote:
Thanks for the reply Tre. I made the changes to the id's like
Otherwise you can also add this:
scheduleList.setEmptyView(findViewById(android.R.id.empty));
On Sat, Jul 24, 2010 at 11:06 AM, YuviDroid yuvidr...@gmail.com wrote:
Maybe it's stupid to askbut just to make sure, does your activity
extend ListActivity? (maybe it has nothing to do with your
On Sat, Jul 24, 2010 at 4:05 AM, Justin Anderson janderson@gmail.comwrote:
Try taking out the android:layout_below attribute from the TextView... I'm
not sure if that is the problem, but I have a feeling it is.
I agree with this. I set my TextView height to fill_parent as well, though I
That did the trick!
Thanks everyone for all your help!!
On Sat, Jul 24, 2010 at 2:08 AM, YuviDroid yuvidr...@gmail.com wrote:
Otherwise you can also add this:
scheduleList.setEmptyView(findViewById(android.R.id.empty));
On Sat, Jul 24, 2010 at 11:06 AM, YuviDroid yuvidr...@gmail.com wrote:
Hi all,
I'd like to create a ListView that, when empty, displays text indicating
that it's empty. I've looked around the web, and found some articles, but
nothing seems to be working - Even a direct copy and paste from these
examples (one from developer.android.com) does not have the desired
On Fri, Jul 23, 2010 at 5:59 PM, Nick Richardson
richardson.n...@gmail.comwrote:
Is there something i have to call in code to make this work? What am i
doing wrong?
I have @id/android:list (no '+') and @+id/android:empty (yes '+') and it
works for me. Maybe that's it?
Also, does my ListView
Thanks for the reply Tre. I made the changes to the id's like you suggested
- the TextView is still displayed even when the ListView has data in it.
This is very frustrating :S
Updated layout snippet:
ListView android:id=@id/android:list
android:layout_width=fill_parent
8 matches
Mail list logo