こんにちは何が問題なのですか? ıスクロールビューをここに追加すると、アプリでエラーが発生します。スクロールビューの下と外にwebviewコードとバック(geri)ボタンを置く必要があります。私のアプリは機能しません。私はscrollviewを削除するときに、私のアプリは再びあなたが相対的なレイアウトやリニアレイアウトやにビューを配置する必要がview.so皆ıがscrollviewを使用しているときにエラーが発生する理由
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.example.user.myapplication.MainActivity"
android:orientation="horizontal">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<Button
android:id="@+id/bn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="bn" />
<Button
android:id="@+id/deneme"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="deneme" />
<Button
android:id="@+id/denemeiki"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="denemeiki" />
</ScrollView>
<Button
android:id="@+id/geri"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="30dp"
android:layout_alignParentRight="true"
android:text="geri"
/>
<WebView
android:id="@+id/simpleWebView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="20dp" />
</RelativeLayout>
を表示してください。 –
コンポーネントを正しく初期化しましたか? – InfZero
私のエミュレータは動作しません。 "残念なことに私のアプリは停止"私にこのエラーを与える私はアンドロイドスタジオ3.0を使用 –