aboutsummaryrefslogtreecommitdiffstats
path: root/tools/EditTextVariations/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/EditTextVariations/res/drawable-hdpi/ic_launcher.pngbin0 -> 4111 bytes
-rw-r--r--tools/EditTextVariations/res/drawable-mdpi/ic_launcher.pngbin0 -> 2258 bytes
-rw-r--r--tools/EditTextVariations/res/drawable-xhdpi/ic_launcher.pngbin0 -> 5963 bytes
-rw-r--r--tools/EditTextVariations/res/drawable-xxhdpi/ic_launcher.pngbin0 -> 10916 bytes
-rw-r--r--tools/EditTextVariations/res/layout/main.xml298
-rw-r--r--tools/EditTextVariations/res/values-v11/donottranslate.xml23
-rw-r--r--tools/EditTextVariations/res/values-v14/themes.xml23
-rw-r--r--tools/EditTextVariations/res/values-v27/themes.xml27
-rw-r--r--tools/EditTextVariations/res/values/countries.xml263
-rw-r--r--tools/EditTextVariations/res/values/strings.xml38
-rw-r--r--tools/EditTextVariations/res/values/themes.xml23
11 files changed, 695 insertions, 0 deletions
diff --git a/tools/EditTextVariations/res/drawable-hdpi/ic_launcher.png b/tools/EditTextVariations/res/drawable-hdpi/ic_launcher.png
new file mode 100644
index 000000000..e0923a605
--- /dev/null
+++ b/tools/EditTextVariations/res/drawable-hdpi/ic_launcher.png
Binary files differ
diff --git a/tools/EditTextVariations/res/drawable-mdpi/ic_launcher.png b/tools/EditTextVariations/res/drawable-mdpi/ic_launcher.png
new file mode 100644
index 000000000..9bc091481
--- /dev/null
+++ b/tools/EditTextVariations/res/drawable-mdpi/ic_launcher.png
Binary files differ
diff --git a/tools/EditTextVariations/res/drawable-xhdpi/ic_launcher.png b/tools/EditTextVariations/res/drawable-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..d60ac3dc0
--- /dev/null
+++ b/tools/EditTextVariations/res/drawable-xhdpi/ic_launcher.png
Binary files differ
diff --git a/tools/EditTextVariations/res/drawable-xxhdpi/ic_launcher.png b/tools/EditTextVariations/res/drawable-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..f3069d74f
--- /dev/null
+++ b/tools/EditTextVariations/res/drawable-xxhdpi/ic_launcher.png
Binary files differ
diff --git a/tools/EditTextVariations/res/layout/main.xml b/tools/EditTextVariations/res/layout/main.xml
new file mode 100644
index 000000000..99abfb07e
--- /dev/null
+++ b/tools/EditTextVariations/res/layout/main.xml
@@ -0,0 +1,298 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2010, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<ScrollView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+>
+ <LinearLayout
+ android:id="@+id/edit_text_list"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+ <EditText
+ android:id="@+id/text_multi_lines_none"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textMultiLine|textAutoCorrect"
+ android:imeOptions="actionUnspecified" />
+ <EditText
+ android:id="@+id/text_multi_lines_send"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textMultiLine|textAutoCorrect"
+ android:imeOptions="actionSend" />
+ <view
+ class="com.android.inputmethod.tools.edittextvariations.MultiLineShortMessageEditText"
+ android:id="@+id/text_short_message_send_multi_lines"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textShortMessage|textMultiLine|textAutoCorrect|textCapSentences"
+ android:imeOptions="actionSend" />
+ <view
+ class="com.android.inputmethod.tools.edittextvariations.MultiLineShortMessageEditText"
+ android:id="@+id/text_multi_lines_search"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textMultiLine|textAutoCorrect|textCapSentences"
+ android:imeOptions="actionSearch" />
+ <EditText
+ android:id="@+id/text_short_message_send"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textShortMessage|textAutoCorrect|textCapSentences"
+ android:imeOptions="actionSend" />
+ <EditText
+ android:id="@+id/text_autocap_none"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect|textCapSentences"
+ android:imeOptions="actionNone" />
+ <EditText
+ android:id="@+id/text_autocap_send"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect|textCapSentences"
+ android:imeOptions="actionSend" />
+ <EditText
+ android:id="@+id/text_uri_go"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textUri"
+ android:imeOptions="actionGo" />
+ <EditText
+ android:id="@+id/text_email_address_done"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textEmailAddress"
+ android:imeOptions="actionDone" />
+ <EditText
+ android:id="@+id/text_auto_correct_search"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect"
+ android:imeOptions="actionSearch" />
+ <EditText
+ android:id="@+id/text_auto_correct_next"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect"
+ android:imeOptions="actionNext" />
+ <EditText
+ android:id="@+id/text_auto_correct_previous"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect" />
+ <EditText
+ android:id="@+id/text_auto_correct_custom"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textAutoCorrect"
+ android:imeActionLabel="@string/custom_action_label"
+ android:imeActionId="100" />
+ <EditText
+ android:id="@+id/phone"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="phone" />
+ <EditText
+ android:id="@+id/phone_no_action"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="phone"
+ android:imeOptions="actionNone" />
+ <EditText
+ android:id="@+id/number_send"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="number"
+ android:imeOptions="actionSend" />
+ <EditText
+ android:id="@+id/number_no_action"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="number"
+ android:imeOptions="actionNone" />
+ <EditText
+ android:id="@+id/text_password_next"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPassword"
+ android:imeOptions="actionNext" />
+ <EditText
+ android:id="@+id/text_visible_password_done"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textVisiblePassword"
+ android:imeOptions="actionDone" />
+ <EditText
+ android:id="@+id/number_password_send"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="numberPassword"
+ android:imeOptions="actionDone" />
+ <EditText
+ android:id="@+id/text_no_suggestions"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textNoSuggestions"
+ android:imeOptions="actionGo" />
+ <EditText
+ android:id="@+id/text_no_auto_correction"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textShortMessage"
+ android:imeOptions="actionDone" />
+ <WebView
+ android:id="@+id/web_view"
+ android:layout_width="fill_parent"
+ android:layout_height="380sp"
+ android:focusable="true" />
+ <EditText
+ android:id="@+id/text_cap_characters_with_auto_correction"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapCharacters|textAutoCorrect" />
+ <EditText
+ android:id="@+id/text_cap_words_with_auto_correction"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapWords|textAutoCorrect" />
+ <EditText
+ android:id="@+id/text_cap_sentences_with_auto_correction"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapSentences|textAutoCorrect" />
+ <EditText
+ android:id="@+id/text_cap_characters"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapCharacters" />
+ <EditText
+ android:id="@+id/text_cap_words"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapWords" />
+ <EditText
+ android:id="@+id/text_cap_sentences"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapSentences" />
+ <EditText
+ android:id="@+id/text_email_subject"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textEmailSubject" />
+ <EditText
+ android:id="@+id/text_personal_name"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPersonName" />
+ <EditText
+ android:id="@+id/text_postal_address"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPostalAddress" />
+ <EditText
+ android:id="@+id/text_phonetic"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textPhonetic" />
+ <EditText
+ android:id="@+id/number_signed"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="numberSigned" />
+ <EditText
+ android:id="@+id/number_decimal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="numberDecimal" />
+ <EditText
+ android:id="@+id/number_signed_decimal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="numberSigned|numberDecimal" />
+ <EditText
+ android:id="@+id/date_time"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="datetime" />
+ <EditText
+ android:id="@+id/date"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="date" />
+ <EditText
+ android:id="@+id/time"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="time" />
+ <EditText
+ android:id="@+id/text_no_extract_ui"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text"
+ android:imeOptions="flagNoExtractUi" />
+ <EditText
+ android:id="@+id/text_no_fullscreen"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="textCapSentences"
+ android:imeOptions="flagNoFullscreen" />
+ <EditText
+ android:id="@+id/text_nm"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text"
+ android:privateImeOptions="nm" />
+ <EditText
+ android:id="@+id/text_force_ascii_flag"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text" />
+ <AutoCompleteTextView
+ android:id="@+id/text_app_completion"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" />
+ <AutoCompleteTextView
+ android:id="@+id/text_app_completion_no_fullscreen"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="flagNoFullscreen" />
+ <AutoCompleteTextView
+ android:id="@+id/text_app_compeletion_no_extract_ui"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:imeOptions="flagNoExtractUi" />
+ <EditText
+ android:id="@+id/text_restarting"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="text" />
+ <EditText
+ android:id="@+id/text_null"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:inputType="none" />
+ </LinearLayout>
+</ScrollView>
diff --git a/tools/EditTextVariations/res/values-v11/donottranslate.xml b/tools/EditTextVariations/res/values-v11/donottranslate.xml
new file mode 100644
index 000000000..5b7eb23fc
--- /dev/null
+++ b/tools/EditTextVariations/res/values-v11/donottranslate.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2011, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources>
+ <string name="default_theme">Theme_Holo_Light</string>
+</resources>
diff --git a/tools/EditTextVariations/res/values-v14/themes.xml b/tools/EditTextVariations/res/values-v14/themes.xml
new file mode 100644
index 000000000..22c6016ff
--- /dev/null
+++ b/tools/EditTextVariations/res/values-v14/themes.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2017, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <style name="defaultActivityTheme" parent="@android:style/Theme.DeviceDefault.Light" />
+</resources>
diff --git a/tools/EditTextVariations/res/values-v27/themes.xml b/tools/EditTextVariations/res/values-v27/themes.xml
new file mode 100644
index 000000000..8fd3aae4f
--- /dev/null
+++ b/tools/EditTextVariations/res/values-v27/themes.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2017, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <style name="defaultActivityTheme" parent="@android:style/Theme.DeviceDefault.Light">
+ <item name="android:navigationBarColor">@android:color/white</item>
+ <item name="android:navigationBarDividerColor">#1f000000</item>
+ <item name="android:windowLightNavigationBar">true</item>
+ </style>
+</resources>
diff --git a/tools/EditTextVariations/res/values/countries.xml b/tools/EditTextVariations/res/values/countries.xml
new file mode 100644
index 000000000..6d7e5c137
--- /dev/null
+++ b/tools/EditTextVariations/res/values/countries.xml
@@ -0,0 +1,263 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources>
+ <!-- The list of country names. [CHAR LIMIT=100] -->
+ <string-array name="countries_array">
+ <item>Afghanistan</item>
+ <item>Albania</item>
+ <item>Algeria</item>
+ <item>American Samoa</item>
+ <item>Andorra</item>
+ <item>Angola</item>
+ <item>Anguilla</item>
+ <item>Antarctica</item>
+ <item>Antigua and Barbuda</item>
+ <item>Argentina</item>
+ <item>Armenia</item>
+ <item>Aruba</item>
+ <item>Australia</item>
+ <item>Austria</item>
+ <item>Azerbaijan</item>
+ <item>Bahrain</item>
+ <item>Bangladesh</item>
+ <item>Barbados</item>
+ <item>Belarus</item>
+ <item>Belgium</item>
+ <item>Belize</item>
+ <item>Benin</item>
+ <item>Bermuda</item>
+ <item>Bhutan</item>
+ <item>Bolivia</item>
+ <item>Bosnia and Herzegovina</item>
+ <item>Botswana</item>
+ <item>Bouvet Island</item>
+ <item>Brazil</item>
+ <item>British Indian Ocean Territory</item>
+ <item>British Virgin Islands</item>
+ <item>Brunei</item>
+ <item>Bulgaria</item>
+ <item>Burkina Faso</item>
+ <item>Burundi</item>
+ <item>"Cote d'Ivoire"</item>
+ <item>Cambodia</item>
+ <item>Cameroon</item>
+ <item>Canada</item>
+ <item>Cape Verde</item>
+ <item>Cayman Islands</item>
+ <item>Central African Republic</item>
+ <item>Chad</item>
+ <item>Chile</item>
+ <item>China</item>
+ <item>Christmas Island</item>
+ <item>Cocos (Keeling) Islands</item>
+ <item>Colombia</item>
+ <item>Comoros</item>
+ <item>Congo</item>
+ <item>Cook Islands</item>
+ <item>Costa Rica</item>
+ <item>Croatia</item>
+ <item>Cuba</item>
+ <item>Cyprus</item>
+ <item>Czech Republic</item>
+ <item>Democratic Republic of the Congo</item>
+ <item>Denmark</item>
+ <item>Djibouti</item>
+ <item>Dominica</item>
+ <item>Dominican Republic</item>
+ <item>East Timor</item>
+ <item>Ecuador</item>
+ <item>Egypt</item>
+ <item>El Salvador</item>
+ <item>Equatorial Guinea</item>
+ <item>Eritrea</item>
+ <item>Estonia</item>
+ <item>Ethiopia</item>
+ <item>Faeroe Islands</item>
+ <item>Falkland Islands</item>
+ <item>Fiji</item>
+ <item>Finland</item>
+ <item>Republic of Macedonia</item>
+ <item>France</item>
+ <item>French Guiana</item>
+ <item>French Polynesia</item>
+ <item>French Southern Territories</item>
+ <item>Gabon</item>
+ <item>Georgia</item>
+ <item>Germany</item>
+ <item>Ghana</item>
+ <item>Gibraltar</item>
+ <item>Greece</item>
+ <item>Greenland</item>
+ <item>Grenada</item>
+ <item>Guadeloupe</item>
+ <item>Guam</item>
+ <item>Guatemala</item>
+ <item>Guinea</item>
+ <item>Guinea-Bissau</item>
+ <item>Guyana</item>
+ <item>Haiti</item>
+ <item>Heard Island and McDonald Islands</item>
+ <item>Honduras</item>
+ <item>Hong Kong</item>
+ <item>Hungary</item>
+ <item>Iceland</item>
+ <item>India</item>
+ <item>Indonesia</item>
+ <item>Iran</item>
+ <item>Iraq</item>
+ <item>Ireland</item>
+ <item>Israel</item>
+ <item>Italy</item>
+ <item>Jamaica</item>
+ <item>Japan</item>
+ <item>Jordan</item>
+ <item>Kazakhstan</item>
+ <item>Kenya</item>
+ <item>Kiribati</item>
+ <item>Kuwait</item>
+ <item>Kyrgyzstan</item>
+ <item>Laos</item>
+ <item>Latvia</item>
+ <item>Lebanon</item>
+ <item>Lesotho</item>
+ <item>Liberia</item>
+ <item>Libya</item>
+ <item>Liechtenstein</item>
+ <item>Lithuania</item>
+ <item>Luxembourg</item>
+ <item>Macau</item>
+ <item>Madagascar</item>
+ <item>Malawi</item>
+ <item>Malaysia</item>
+ <item>Maldives</item>
+ <item>Mali</item>
+ <item>Malta</item>
+ <item>Marshall Islands</item>
+ <item>Martinique</item>
+ <item>Mauritania</item>
+ <item>Mauritius</item>
+ <item>Mayotte</item>
+ <item>Mexico</item>
+ <item>Micronesia</item>
+ <item>Moldova</item>
+ <item>Monaco</item>
+ <item>Mongolia</item>
+ <item>Montserrat</item>
+ <item>Morocco</item>
+ <item>Mozambique</item>
+ <item>Myanmar</item>
+ <item>Namibia</item>
+ <item>Nauru</item>
+ <item>Nepal</item>
+ <item>Netherlands</item>
+ <item>Netherlands Antilles</item>
+ <item>New Caledonia</item>
+ <item>New Zealand</item>
+ <item>Nicaragua</item>
+ <item>Niger</item>
+ <item>Nigeria</item>
+ <item>Niue</item>
+ <item>Norfolk Island</item>
+ <item>North Korea</item>
+ <item>Northern Marianas</item>
+ <item>Norway</item>
+ <item>Oman</item>
+ <item>Pakistan</item>
+ <item>Palau</item>
+ <item>Panama</item>
+ <item>Papua New Guinea</item>
+ <item>Paraguay</item>
+ <item>Peru</item>
+ <item>Philippines</item>
+ <item>Pitcairn Islands</item>
+ <item>Poland</item>
+ <item>Portugal</item>
+ <item>Puerto Rico</item>
+ <item>Qatar</item>
+ <item>Reunion</item>
+ <item>Romania</item>
+ <item>Russia</item>
+ <item>Rwanda</item>
+ <item>Sao Tome and Principe</item>
+ <item>Saint Helena</item>
+ <item>Saint Kitts and Nevis</item>
+ <item>Saint Lucia</item>
+ <item>Saint Pierre and Miquelon</item>
+ <item>Saint Vincent and the Grenadines</item>
+ <item>Samoa</item>
+ <item>San Marino</item>
+ <item>Saudi Arabia</item>
+ <item>Senegal</item>
+ <item>Seychelles</item>
+ <item>Sierra Leone</item>
+ <item>Singapore</item>
+ <item>Slovakia</item>
+ <item>Slovenia</item>
+ <item>Solomon Islands</item>
+ <item>Somalia</item>
+ <item>South Africa</item>
+ <item>South Georgia and the South Sandwich Islands</item>
+ <item>South Korea</item>
+ <item>Spain</item>
+ <item>Sri Lanka</item>
+ <item>Sudan</item>
+ <item>Suriname</item>
+ <item>Svalbard and Jan Mayen</item>
+ <item>Swaziland</item>
+ <item>Sweden</item>
+ <item>Switzerland</item>
+ <item>Syria</item>
+ <item>Taiwan</item>
+ <item>Tajikistan</item>
+ <item>Tanzania</item>
+ <item>Thailand</item>
+ <item>The Bahamas</item>
+ <item>The Gambia</item>
+ <item>Togo</item>
+ <item>Tokelau</item>
+ <item>Tonga</item>
+ <item>Trinidad and Tobago</item>
+ <item>Tunisia</item>
+ <item>Turkey</item>
+ <item>Turkmenistan</item>
+ <item>Turks and Caicos Islands</item>
+ <item>Tuvalu</item>
+ <item>Virgin Islands</item>
+ <item>Uganda</item>
+ <item>Ukraine</item>
+ <item>United Arab Emirates</item>
+ <item>United Kingdom</item>
+ <item>United States</item>
+ <item>United States Minor Outlying Islands</item>
+ <item>Uruguay</item>
+ <item>Uzbekistan</item>
+ <item>Vanuatu</item>
+ <item>Vatican City</item>
+ <item>Venezuela</item>
+ <item>Vietnam</item>
+ <item>Wallis and Futuna</item>
+ <item>Western Sahara</item>
+ <item>Yemen</item>
+ <item>Zambia</item>
+ <item>Zimbabwe</item>
+ <item>Yemen</item>
+ </string-array>
+</resources>
diff --git a/tools/EditTextVariations/res/values/strings.xml b/tools/EditTextVariations/res/values/strings.xml
new file mode 100644
index 000000000..02387f2ff
--- /dev/null
+++ b/tools/EditTextVariations/res/values/strings.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2010, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- This test application name. -->
+ <string name="app_name" translatable="false">EditTextVariations</string>
+ <!-- The menu title to change color theme of this application. [CHAR LIMIT=20] -->
+ <string name="menu_change_theme">Change Theme</string>
+ <!-- The menu title to display the version name of this application. [CHAR LIMIT=20] -->
+ <string name="menu_version">Version <xliff:g id="VERSION_NAME" example="0.56">%s</xliff:g></string>
+ <!-- The menu title to turn on the text field focus navigation. [CHAR LIMIT=20] -->
+ <string name="menu_navigate_on" translatable="false">Navigate On</string>
+ <!-- The menu title to turn off the text field focus navigation. [CHAR LIMIT=20] -->
+ <string name="menu_navigate_off" translatable="false">Navigate Off</string>
+ <!-- The menu title to show software keyboard when the application is launched. [CHAR LIMIT=20] -->
+ <string name="menu_softinput_visible" translatable="false">Keyboard Visible</string>
+ <!-- The menu title to stay hidden software keyboard when the application is launched. [CHAR LIMIT=20] -->
+ <string name="menu_softinput_hidden" translatable="false">Keyboard Hidden</string>
+ <!-- The example of custom action key label. Must be short to fit on key. 5 chars or less is preferable. [CHAR LIMIT=7] -->
+ <string name="custom_action_label">Custom</string>
+</resources>
diff --git a/tools/EditTextVariations/res/values/themes.xml b/tools/EditTextVariations/res/values/themes.xml
new file mode 100644
index 000000000..036a7111b
--- /dev/null
+++ b/tools/EditTextVariations/res/values/themes.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2017, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+ <style name="defaultActivityTheme" parent="@android:style/Theme.Holo" />
+</resources>