【发布时间】:2016-09-10 08:16:53
【问题描述】:
我们可以将直接硬编码的字符串中的字符串资源提取到string.xml资源文件中吗?但是如何编辑字符串资源值呢?
例如:
<EditText
android:id="@+id/notes"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/notes
/>
如何直接从布局文件中更改@string/notes 的值?
【问题讨论】:
标签: android-studio android-resources