SA
메인 내용으로 이동

Extracting string in Android

The file strings.xml is located at res/values/strings.xml.

<resources>
<string name="app_name">CS310 Sunghyun Cho (scho1939)</string>
<string name="message">Fight On!</string>
</resources>

Then refer to the saved text like below.

android:text="@string/message"

이 문서를 언급한 문서들