Difference between revisions of "LRM Android Support"
(→Example strings.xml File For Android) |
|||
Line 1: | Line 1: | ||
+ | == Naming Conventions == |
||
+ | Android resources bundles are named <code>strings.xml</code>. Typically, an Android application will have one <code>strings.xml</code> base file located under a directory named <code>values</code>. The corresponding translated resource bundle will be also named <code>strings.xml</code> and located under a directory named <code>values-fr</code> (for French) at the same level as <code>values</code>. |
||
+ | |||
== Example strings.xml File For Android== |
== Example strings.xml File For Android== |
||
Revision as of 22:52, 16 September 2016
Naming Conventions
Android resources bundles are named strings.xml
. Typically, an Android application will have one strings.xml
base file located under a directory named values
. The corresponding translated resource bundle will be also named strings.xml
and located under a directory named values-fr
(for French) at the same level as values
.
Example strings.xml File For Android
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:tools="http://schemas.android.com/tools"> <string name="menu_find">Find</string> <string name="menu_historical_search">Search Historical Records</string> <string name="person_activity_title">Person</string> <string name="label_person_tree_button">View This Tree</string> <string name="label_person_other">Other</string> <string name="label_person_name">Name</string> <string name="label_person_details">Details</string> <string name="fact_detail_sub_header_reason">Reason This Information Is Correct</string> <string name="fact_detail_footer_modified">Modified</string> <string name="fact_detail_send_email_chooser">Choose an Email Client</string> <string name="fact_detail_send_email_error_no_client">Email app not found</string> <string name="fact_name_label">Name</string> </resources>