2013-08-04 67 views
0
<CheckBox 
    android:id="@+id/checkBox2" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:layout_alignLeft="@+id/checkBox1" 
    android:layout_below="@+id/checkBox1" 
    android:layout_marginTop="22dp" 
    android:text="@string/uBG" /> 

大家好!上面的代碼存在於我的activity_main.xml中的文件夾爲我的工作制定一個非常非常簡單的應用程序來試驗我有限的技能,而且,儘管在我的strings.xml我加了線的事實:Android XML混淆和小問題

<string name="uBG">Example</string> 

我發現我的CheckBox仍然顯示「@ string/uBG」而不是「Example」 我知道我犯了一個愚蠢的錯誤,但只需要知道什麼。 感謝任何人誰回答,請不要downvote,因爲這是愚蠢的或天真的我...

回答

1

嘗試清潔和重建項目。如果使用Eclipse,請轉到Project> Clean ...並確保選中Build Automatically。