force close هنگام افزودن چند رابط کابری به برنامه
چرا وقتی این تغییرات رو به layout اضافه می کنم برنامه فورس کلوس میشه؟
هیچ تغییری در کدها ندادم.
<?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="fill_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/txtWeight"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/txtWeight"
android:layout_height="wrap_content"
android:text="weight/kg" android:layout_weight="0.5"/>
<EditText
android:id="@+id/editText1"
android:layout_height="wrap_content"
android:layout_weight="0.5"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<TextView
android:id="@+id/textView2"
android:layout_height="wrap_content"
android:text="Medium Text"
android:layout_weight="0.5"/>
<EditText
android:id="@+id/editText2"
android:layout_height="wrap_content"
android:layout_weight="0.5"/>
</LinearLayout>
</LinearLayout>
پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .