1.Layout Dosyaları
Yeni bir layout dosyası oluşturma “res/layout/main.xml” and “res/layout/webview.xml“.<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android=class="token punctuation">"http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<Button
android:id="@+id/buttonUrl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Go to http://www.google.com" />
</LinearLayout>
Dosya : res/layout/main.xml – WebView Kullanımı
<?xml version="1.0" encoding="utf-8"?>
<WebView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/webView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
ifadeler ifadeler