我裏面有一個滾動視圖鍵盤沒有出現與滾動視圖在web視圖Android的
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@android:color/white"
android:orientation="vertical"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_header"
/>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="match_parent"
>
<WebView
android:id="@+id/webView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
</ScrollView>
</LinearLayout>
網頁視圖,但它不會讓我點擊窗體字段或編輯框在web視圖一樣登錄字段等我把鍵盤
我試過刪除scrollView。也許是因爲一旦記錄的值是我做的webView「記住」這些字段,這就是爲什麼鍵盤沒有顯示?我怎樣才能解決這個
我應該怎麼做:(
你有沒有在任何的Android設備上測試它,而不是模擬器。 –
我在s2上工作....可能ScrollViw不會讓它變得焦點嗎?它開始時,我添加了scrollView,我無法刪除scrollView –
這裏有什麼使用RelativeLayout .lol ..可以不使用textview或其他東西 – Unknown