我的問題是,當我想改變我的按鈕文本的名稱它給我的鐵桿錯誤,並說,你應該在Eclipse中使用字符串你好,每個人都可以幫助我解決這個問題嗎?
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.companey.ali.Main" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="Alireza" />
<TextView
android:id="@+id/textView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/hello_world"
android:textSize="30sp" />
</RelativeLayout>
發佈完整的錯誤信息。你放的標題應該描述這個問題。 – m0skit0