2013-08-04 65 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。