이상한 문제가 있습니다. 내 XML 파일 onCreateView
에 다음 XML 파일을 부풀려 시도 할 때 갑자기 응용 프로그램이 예기치 않게 정지 한 이유를 알 수 없습니다. 나는 세 번째 버튼을 억제하면XML 파일과 관련하여 이상한 오류가 발생했습니다.
<?xml version="1.0" encoding="UTF-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/fond_application_horizontal">
<Button
android:id="@+id/ZoomPlusY"
android:layout_height="140dip"
android:layout_width="40dip"
android:text="Y+">
</Button>
<Button
android:id="@+id/ZoomMoinsY"
android:layout_height="140dip"
android:layout_width="40dip"
android:layout_below="@id/ZoomPlusY"
android:text="Y-">
</Button>
<Button
android:id="@+id/ZoomOptimum"
android.layout.width="70dip"
android.layout.height="40dip"
android:layout_below="@id/ZoomMoinsY"
android:text="Opt">
</Button>
</RelativeLayout>
는, XML 파일이 완벽하게 팽창하고 응용 프로그램이 충돌하지 않는 다음 Fragment
클래스를 확장합니다.
아이디어가 있으십니까?
저를 도우려는 데 시간을 할애 해 주셔서 미리 감사드립니다.
로그에 아무 것도 표시 되나요? –