[android-developers] WebView in ListView

2010-10-20 Thread pablitoman
I think this has been asked elsewhere (StackOverflow) but with no satisfactory answer. I have a ListView where each row is composed (mostly) of a WebView. The problem is that you can't touch the WebView and fire the onListItemClick method of ListActivity. I've tried to set

[android-developers] scaling a web-page in a WebView element

2009-11-30 Thread pablitoman
Hi, I'm loading a URL into a WebView and I'm having difficulty setting the scale of the web-page. Specifically, the web-page is too big (800x600) for the screen, so my thought is to use setInitialScale(50) to reduce the size xx ATTEMPT # 1 x Here is some sample code

[android-developers] Text on top of a ImageView

2009-11-18 Thread pablitoman
Hi, I'm using Android 1.6. I'm wondering if there's a simple way to put text on top of an ImageView element. Specifically, I'd like to have text overlayed on top of a rectangle filled with a color gradient. I have the following in my XML layout: ImageView android:id=@+id/top_bar

[android-developers] Re: Text on top of a ImageView

2009-11-18 Thread pablitoman
        android:text=foo bar         / A FrameLayout with an ImageView and TextView inside might work as well if you need some feature of ImageView. On Nov 18, 9:56 pm, pablitoman thebusy...@gmail.com wrote: Hi, I'm using Android 1.6. I'm wondering if there's a simple way to put text on top

[android-developers] emulator web-PDFs and SD Card

2009-08-31 Thread pablitoman
Hi, I'm using the standard android emulator and when I use the emulator's browser and go to a link that contains a PDF file, the emulator gives me the following popup: No SD Card An SD card is required to download blahblah.pdf Is there any way to mimic the presence of an SD card so that I can