If you give your TextView a weight it will probably show up under the
list.

android:layout_weight="1"

On Oct 23, 10:53 am, Kiran <[email protected]> wrote:
> Thanks Mark,
> Hierachy viewer did help me. The issue is in the xml file. I am not
> sure why I had the listview in first place and removing it solved the
> problem. But the process exposed to a good toolset that will help me
> in future debugging.
>
> <?xml version="1.0" encoding="utf-8"?>
> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
>      android:layout_width="wrap_content"
>        android:layout_height="wrap_content">
>    <ListView android:id="@+id/android:fetchlist"
>          android:layout_width="wrap_content"
>                android:layout_height="wrap_content"/>
>        <TextView android:id="@+id/android:fetchtext"
>          android:layout_width="wrap_content"
>                android:layout_height="wrap_content"/>
> </LinearLayout>
>
> On Oct 23, 7:47 am, Mark Murphy <[email protected]> wrote:
>
> > Kiran wrote:
> > > Hierarchy viewer shows the text view. Also the data contains the html
> > > page. Here is the screenshot of hierarchy viewer:
> > >http://i1011.photobucket.com/albums/af233/kiranjulapalli/textview.png...
>
> > Great!
>
> > That means your background processing is working just fine. Now all you
> > need to do is figure out why the text is not showing up, such as:
>
> > -- The TextView is off-screen
> > -- The TextView is hidden behind something else
> > -- The TextView has black text on a black background
> > -- The TextView has zero height or width
> > -- etc.
>
> > hierarchyviewer should be able to help with much of that.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > _Android Programming Tutorials_ Version 1.0 Available!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to