summaryrefslogtreecommitdiffstats
path: root/tests/res
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-06-11 17:56:07 -0700
committerNancy Chen <nancychen@google.com>2014-06-26 16:21:15 -0700
commit87ba489564b25d4a64c9faaeafea46e2f72d8933 (patch)
tree15d3eb5c9865eb1bc4c3244d3277c3ea7ab23a3b /tests/res
parent8a80d19f88d224f1427d7656e361eb77e1f90974 (diff)
downloadandroid_packages_apps_Dialer-87ba489564b25d4a64c9faaeafea46e2f72d8933.tar.gz
android_packages_apps_Dialer-87ba489564b25d4a64c9faaeafea46e2f72d8933.tar.bz2
android_packages_apps_Dialer-87ba489564b25d4a64c9faaeafea46e2f72d8933.zip
Add icon indicating subscription in call log/call history
Display an icon in the call details showing which connection provider (subscription) is responsible for the call. Bug: 15473965 Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
Diffstat (limited to 'tests/res')
-rw-r--r--tests/res/layout/fill_call_log_test.xml27
-rw-r--r--tests/res/values/donottranslate_strings.xml4
2 files changed, 31 insertions, 0 deletions
diff --git a/tests/res/layout/fill_call_log_test.xml b/tests/res/layout/fill_call_log_test.xml
index 9b89e4a55..c81a679db 100644
--- a/tests/res/layout/fill_call_log_test.xml
+++ b/tests/res/layout/fill_call_log_test.xml
@@ -176,6 +176,33 @@
android:inputType="phone"
/>
</LinearLayout>
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/call_subscription" />
+ <RadioGroup
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <RadioButton
+ android:id="@+id/subscription0"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/subscription0"
+ android:textSize="9sp" />
+ <RadioButton
+ android:id="@+id/subscription1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/subscription1"
+ android:textSize="9sp" />
+ <RadioButton
+ android:id="@+id/no_subscription"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/no_subscription"
+ android:textSize="9sp" />
+ </RadioGroup>
<Button
android:id="@+id/add_custom"
android:layout_width="match_parent"
diff --git a/tests/res/values/donottranslate_strings.xml b/tests/res/values/donottranslate_strings.xml
index 25c3a5a71..cfc70c4d6 100644
--- a/tests/res/values/donottranslate_strings.xml
+++ b/tests/res/values/donottranslate_strings.xml
@@ -51,4 +51,8 @@
<string name="presentation_unknown">Unknown</string>
<string name="presentation_payphone">Payphone</string>
<string name="delta_after_add">Offset call time after add (min): </string>
+ <string name="call_subscription">Subscription</string>
+ <string name="subscription0">Subscription 0</string>
+ <string name="subscription1">Subscription 1</string>
+ <string name="no_subscription">No Subscription</string>
</resources>