Hello,
I need do static widget (WebView) top of the screen and under
ListView. I have class VypisLV extends ListActivity and inner class
ListTextFirmy extends ArrayAdapter. VypisLV call setListAdapter(new
ListTextFirmy(this));
My xml is:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
        android:layout_width="fill_parent"
android:layout_height="wrap_content"
        android:orientation="horizontal" android:id="@+id/lin">

        <LinearLayout android:orientation="vertical" android:id="@+id/
LinearLayout01"
                android:layout_width="wrap_content"
android:layout_height="wrap_content">
                <ImageView android:id="@+id/pravni_forma"
                        android:layout_width="wrap_content" 
android:paddingLeft="2px"
                        android:paddingRight="2px" 
android:layout_height="fill_parent"
                        android:layout_gravity="top" />

        </LinearLayout>
        <LinearLayout android:orientation="vertical" android:id="@+id/
LinearLayout01"
                android:layout_width="wrap_content"
android:layout_height="wrap_content"
                android:layout_weight="1">
                <TextView android:id="@+id/firma"
android:layout_width="wrap_content"
                        android:layout_height="wrap_content" 
android:textSize="22sp"
                        android:textColor="#ffffffff" />
                <LinearLayout android:orientation="horizontal"
                        android:id="@+id/LinearLayout02"
android:layout_width="wrap_content"
                        android:layout_height="wrap_content">
                        <TextView android:id="@+id/ico" 
android:layout_width="wrap_content"
                                android:orientation="vertical"
android:layout_height="wrap_content"></TextView>
                        <TextView android:id="@+id/adresa"
android:layout_width="wrap_content"
                                android:layout_height="wrap_content"
android:layout_marginLeft="5px"></TextView>
                </LinearLayout>
        </LinearLayout>
        <ImageView android:id="@+id/mapka"
android:layout_width="wrap_content"
                android:layout_height="fill_parent" android:paddingRight="5px"
                android:layout_gravity="right|center_vertical"></ImageView>
</LinearLayout>

Is there any solution how can I add webview? When I add it to the xml
I see only webview, another widget is hide.
--~--~---------~--~----~------------~-------~--~----~
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