Check this issue:
http://code.google.com/p/android/issues/detail?id=678

On Apr 17, 3:19 pm, Jose María González <[EMAIL PROTECTED]> wrote:
> I have the same problem.
> But if I refresh one button in the layout for example, then the
> webView content appears like magic.
>
> Somebody knows how to solve it?
>
> On Apr 9, 10:43 pm, Diego Torres Milano <[EMAIL PROTECTED]> wrote:> 
> WebViewis, ehrrr... the web view ;-)
> > The same as the one in the browser.
> > I don't know if your problem is related or not, but try different
> > content to try to determine this.
>
> > On Apr 9, 10:03 pm, vinnu <[EMAIL PROTECTED]> wrote:
>
> > > also doeswebviewhas anything to do with browser..all i want is a
> > > view which can understand html tags and display content accordingly on
> > > my app's layout. i thotwebviewmeant to do this?
>
> > > On Apr 9, 12:59 pm, vinnu <[EMAIL PROTECTED]> wrote:
>
> > > > Hi Diego,
>
> > > > thanx for ur reply. the problem is, imnoteven loading a webpage
> > > > here..i just want mywebviewto print a little html.
> > > > imnotsure why imnotgetting it on the emulator screen.
>
> > > > On Apr 9, 2:01 am, Diego Torres Milano <[EMAIL PROTECTED]> wrote:
>
> > > > > Maybe it's related with this 
> > > > > problemhttp://groups.google.com/group/android-developers/browse_thread/threa...
>
> > > > > On Apr 9, 8:33 am, vinnu <[EMAIL PROTECTED]> wrote:
>
> > > > > > hi,
>
> > > > > > im writing a bare bones application on android...and mywebviewdoesnt
> > > > > > seem to work.  i mean itsnotshowing any data on the emulator screen.
> > > > > > the textview and editview all work fine..but thewebviewdoesnt show
> > > > > > any data on screen. am i missing something?
>
> > > > > >  below is the part of the code that is relevant
>
> > > > > > public void onCreate(Bundle icicle) {
> > > > > >         super.onCreate(icicle);
>
> > > > > >         setContentView(R.layout.login);
> > > > > >        WebViewwView = (WebView) findViewById(R.id.wview);
> > > > > >         wView.loadData(
> > > > > >                 "<html><body>Please click </body></html>",
> > > > > >                 "text/html", "utf-8");
>
> > > > > > }
>
> > > > > > my login.xml looks like this
> > > > > > ------------------------------------------
>
> > > > > > <?xml version="1.0" encoding="utf-8"?>
> > > > > > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/
> > > > > > android"
> > > > > >     android:orientation="vertical"
> > > > > >     android:layout_width="fill_parent"
> > > > > >     android:layout_height="fill_parent"
>
> > > > > > <TextView
> > > > > >     android:layout_width="fill_parent"
> > > > > >     android:layout_height="wrap_content"
> > > > > >     android:text="Username"
> > > > > >     />
> > > > > > <EditText android:id="@+id/username"
> > > > > >         android:layout_width="fill_parent"
> > > > > >         android:layout_height="wrap_content"
> > > > > >         />
> > > > > > <TextView
> > > > > >     android:layout_width="fill_parent"
> > > > > >     android:layout_height="wrap_content"
> > > > > >     android:text="Password"
> > > > > >     />
> > > > > > <EditText android:id="@+id/password"
> > > > > >         android:password="true"
> > > > > >         android:layout_width="fill_parent"
> > > > > >         android:layout_height="wrap_content"
> > > > > >         />
> > > > > > <Button android:id="@+id/login"
> > > > > >         android:layout_width="wrap_content"
> > > > > >         android:layout_height="wrap_content"
> > > > > >         android:text="Login"
> > > > > >         />
>
> > > > > > <WebView
> > > > > >         android:id="@+id/wview"
> > > > > >         android:layout_width="fill_parent"
> > > > > >         android:layout_height="wrap_content"
> > > > > >         android:focusable="false"/>
>
> > > > > > </LinearLayout>
>
> > > > > > thanx
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to