Re: [問題] eclipse android的hello world改不掉
※ 引述《jjalu (jjalu)》之銘言:
: <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:background="@drawable/test" >
: <TextView
: android:layout_width="wrap_content"
: android:layout_height="wrap_content"
: android:layout_centerHorizontal="true"
: android:layout_centerVertical="true"
: android:text="@string/has_been_changed"
: android:textColor="#FF0000"
: android:background="#FFFFFF"
: tools:context=".MainActivity" />
: </RelativeLayout>
res/values/strings.xml中:
<string name="has_been_changed">Has been change!</string>
^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
res類型 res名稱 對應值
改好後,很重要一點:要存檔。
試試看
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.193.161.148
※ 編輯: cha122977 來自: 123.193.161.148 (08/04 00:09)
→
08/04 00:56, , 1F
08/04 00:56, 1F
→
08/04 00:57, , 2F
08/04 00:57, 2F
→
08/04 00:57, , 3F
08/04 00:57, 3F
推
08/04 10:18, , 4F
08/04 10:18, 4F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):