diff options
Diffstat (limited to 'tests/res')
-rw-r--r-- | tests/res/drawable/default_icon.png | bin | 0 -> 4005 bytes | |||
-rw-r--r-- | tests/res/drawable/phone_icon.png | bin | 0 -> 3621 bytes | |||
-rw-r--r-- | tests/res/layout/fill_call_log_test.xml | 56 | ||||
-rw-r--r-- | tests/res/values/donottranslate_strings.xml | 41 | ||||
-rw-r--r-- | tests/res/xml/iconset.xml | 24 |
5 files changed, 121 insertions, 0 deletions
diff --git a/tests/res/drawable/default_icon.png b/tests/res/drawable/default_icon.png Binary files differnew file mode 100644 index 000000000..cea0eb3b7 --- /dev/null +++ b/tests/res/drawable/default_icon.png diff --git a/tests/res/drawable/phone_icon.png b/tests/res/drawable/phone_icon.png Binary files differnew file mode 100644 index 000000000..4e613ecce --- /dev/null +++ b/tests/res/drawable/phone_icon.png diff --git a/tests/res/layout/fill_call_log_test.xml b/tests/res/layout/fill_call_log_test.xml new file mode 100644 index 000000000..704b9c66e --- /dev/null +++ b/tests/res/layout/fill_call_log_test.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 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 + --> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center_horizontal" +> + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/numberOfCallLogEntries" + /> + <EditText + android:id="@+id/number" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="number" + android:text="10" + /> + <CheckBox + android:id="@+id/use_random_numbers" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/useRandomNumbers" + /> + <Button + android:id="@+id/add" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/addToCallLogButton" + /> + <ProgressBar + android:id="@+id/progress" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:indeterminate="false" + android:visibility="gone" + /> +</LinearLayout> diff --git a/tests/res/values/donottranslate_strings.xml b/tests/res/values/donottranslate_strings.xml new file mode 100644 index 000000000..ceba5ea96 --- /dev/null +++ b/tests/res/values/donottranslate_strings.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <string-array name="allIntents"> + <!-- List modes --> + <!-- Various ways to start Contacts --> + <item>DIAL</item> + <item>DIAL phone (deprecated)</item> + <item>DIAL person (deprecated)</item> + <item>DIAL voicemail</item> + <item>CALL BUTTON</item> + <item>DIAL tel</item> + <item>VIEW tel</item> + <item>VIEW calls (call-log after a phone call)</item> + <item>VIEW calls item</item> + <item>CallDetailActivity (legacy)</item> + <item>CallLogActivity (legacy)</item> + </string-array> + + <string name="addToCallLogButton">Add</string> + <string name="useRandomNumbers">Use random numbers</string> + <string name="numberOfCallLogEntries">Number of call log entries to add:</string> + <string name="addedLogEntriesToast">Added %1$d call log entries.</string> + <string name="noLogEntriesToast">No entries in the call log yet. Need at least one record for the template. Or use random numbers.</string> + +</resources> diff --git a/tests/res/xml/iconset.xml b/tests/res/xml/iconset.xml new file mode 100644 index 000000000..ec3894566 --- /dev/null +++ b/tests/res/xml/iconset.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 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 + --> + +<icon-set xmlns:android="http://schemas.android.com/apk/res/android"> + + <icon-default android:icon="@drawable/default_icon" /> + <icon android:mimeType="vnd.android.cursor.item/phone" + android:icon="@drawable/phone_icon" /> + +</icon-set> |