FrameLayout and WebView

by Jell » Tue, 24 Jun 2008 16:13:41 GMT

Sponsored Links

I have been trying to implement the demo API "3d Transition" to switch
between a custom View of mine and a WebView, and it's working fine,
but while scrolling on the WebView, the parts of the WebView that was
not on screen at the first place is replaced by a blanck...

It's just as if that was the FrameLayout that was scrolling instead of
the WebView.

I used the same code that is in the classes "" and
"", only changing the Views types.

Here is my XML file:

        xmlns:android="" ;
        android:id="@+id/container" android:layout_width="fill_parent"
        android:layout_height="fill_parent" android:scrollbars="none">
        <WebView android:id="@+id/imwebview"
                android:visibility="gone" />
        < android:id="@+id/imview"
                android:layout_height="fill_parent" />

Could you give me some advice?


FrameLayout and WebView

by Jell » Wed, 25 Jun 2008 10:07:39 GMT

 After looking closer, it seems that applying an animation to the
FrameLayout disable the WebView's scroll animation...


Sponsored Links

FrameLayout and WebView

by Jell » Wed, 25 Jun 2008 12:16:24 GMT

 Ok i found a solution but it does not please me.

I encapsulate the WebView within a LinearLayout and I apply the
animation to the linear layout instead of the WebView...

If you have something less dirty, let me know!


Other Threads

1. help needed - gagal terus saat root incredible

mohon bantuan suhu- suhu dan rekan pengguna incredible yang sukses rooting,
how to/ step stepnya biar sukses.
sudah mencoba step unrevoked3 tapi selalu macet di notifikasi "waiting for
root ......dst. di tunggu 30 menit ngga ada reaksi



2. Aplikasi open office reader for android

Dear all
saya di ktr pakai open office. Mau tanya aplikasi utk buka open office di
android, adakah?


3. [WTS] Samsung Spica

4. WebView focus and clickable links

5. Things I hope Android will implement

6. CPU frequency scaling

7. android-x86