summaryrefslogtreecommitdiffstats
path: root/tests/res
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2014-06-13 16:06:55 -0700
committerTyler Gunn <tgunn@google.com>2014-06-13 16:07:58 -0700
commit838fe3f3dee69db20a978f43f2b3bec987527664 (patch)
treed85b05856c027502f0eae5f9a30f44136589b4dc /tests/res
parent3307fdc5e84e456370e7630e4fe0300aba59cd26 (diff)
downloadandroid_packages_apps_Dialer-838fe3f3dee69db20a978f43f2b3bec987527664.tar.gz
android_packages_apps_Dialer-838fe3f3dee69db20a978f43f2b3bec987527664.tar.bz2
android_packages_apps_Dialer-838fe3f3dee69db20a978f43f2b3bec987527664.zip
Add auto-offset for manual call log entry test screen.
Added ability to auto-offset the next call date/time to be manually added to the call log. This helps when you want to add a number of repeated calls but offset them by a short time (eg 1 minute). Change-Id: I66a59df47e17b99a008ca289c641301eda460b5e
Diffstat (limited to 'tests/res')
-rw-r--r--tests/res/layout/fill_call_log_test.xml19
-rw-r--r--tests/res/values/donottranslate_strings.xml1
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/res/layout/fill_call_log_test.xml b/tests/res/layout/fill_call_log_test.xml
index 6de9b9119..9b89e4a55 100644
--- a/tests/res/layout/fill_call_log_test.xml
+++ b/tests/res/layout/fill_call_log_test.xml
@@ -183,4 +183,23 @@
android:text="@string/addToCallLogButton"
android:onClick="addManualEntry"
/>
+ <LinearLayout
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="left"
+ >
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/delta_after_add"
+ />
+ <EditText
+ android:id="@+id/delta_after_add"
+ android:layout_width="90dp"
+ android:layout_height="wrap_content"
+ android:text="-1"
+ android:inputType="number"
+ />
+ </LinearLayout>
</LinearLayout>
diff --git a/tests/res/values/donottranslate_strings.xml b/tests/res/values/donottranslate_strings.xml
index bdeb3043d..25c3a5a71 100644
--- a/tests/res/values/donottranslate_strings.xml
+++ b/tests/res/values/donottranslate_strings.xml
@@ -50,4 +50,5 @@
<string name="presentation_restricted">Restricted</string>
<string name="presentation_unknown">Unknown</string>
<string name="presentation_payphone">Payphone</string>
+ <string name="delta_after_add">Offset call time after add (min): </string>
</resources>