Are you perhaps listening to a ListView that doesn't exist any more???

Also, I don't know why you would use a WebView for this... It makes
much more sense to download the image into memory and display it as an
ImageView.  It sounds like you're reloading it every time now anyway.
If you don't want to reload it, or store it in a DB, what's wrong with
storing it on the filesystem?



On Aug 2, 11:36 am, charles berman <charles.heath.ber...@gmail.com>
wrote:
> i may get flamed for this question, but help me do it right. I was
> downloading images from a website and putting them into a database, and then
> displaying them in an imageview. well to reduce the size of my database, i
> changed from an imageview to a webview and now only do a
> Webview.Loaddata(ImageLink). all of this is contained within a listactivity.
> my problem seems to be that for whatever reason now i dont seem to be
> capturing the Listclick event any longer
>
> XML
>
> <?xml version="1.0" encoding="utf-8"?>
>
>     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
> android:background = "@color/ImageColor" android:orientation = "horizontal"
> android:layout_width="fill_parent" android:layout_height="wrap_content">
>
>     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
> android:background = "@drawable/bluebg" android:orientation = "vertical"
> android:layout_width="wrap_content" android:layout_height="wrap_content">
>
>         <WebView     android:id="@+id/image"     android:padding = "5pt"
> android:color="@color/ImageColor"
>                     android:paddingTop ="20pt"
> android:layout_width="80px"
>                     android:background = "@drawable/myimage"
>                     android:layout_height="95px"/>
>
>     </LinearLayout>
>     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android";
> android:background = "@drawable/bluebg" android:orientation = "vertical"
> android:layout_width="fill_parent" android:layout_height="wrap_content">
>
>         <TextView     android:id="@+id/title" android:text="title"
>                      android:paddingRight= "2pt"
>                      android:paddingLeft= "2pt"
>                      android:background = "@android:color/transparent"
>                      android:layout_width="fill_parent"
>                      android:layout_height="wrap_content"/>
> </LinearLayout>
>
> </LinearLayout>
>
> Charles Berman
> 313.790.9851
>
> www.charlesberman.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to