diff options
author | Andrew Lee <anwlee@google.com> | 2015-09-25 17:20:48 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-09-25 17:36:10 -0700 |
commit | c843bc787b2de729f97e5deb0176b541d1884e8c (patch) | |
tree | 82fd97299d3c29310d12cbe53e6b6dc9ba96c6b3 /tests/res/layout | |
parent | faf56af13b4e39075ebf86dd428b980a93fdb677 (diff) |
Add custom call type affordance to TestActivity.
Add a text field to manually enter a call type.
The TouchListener is so that if the user edits the text specifying
the custom type, the toggle is automatically switched to select
it as the call type.
Bug: 24341350
Change-Id: I524b211b17997280a6d4d3537411a39ada73e5de
Diffstat (limited to 'tests/res/layout')
-rw-r--r-- | tests/res/layout/fill_call_log_test.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/res/layout/fill_call_log_test.xml b/tests/res/layout/fill_call_log_test.xml index e34125c10..43f475b52 100644 --- a/tests/res/layout/fill_call_log_test.xml +++ b/tests/res/layout/fill_call_log_test.xml @@ -59,7 +59,7 @@ android:text="@string/add_custom_entry" /> <LinearLayout - android:orientation="horizontal" + android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="left" @@ -92,6 +92,18 @@ android:layout_height="wrap_content" android:text="@string/call_type_voicemail" android:textSize="9sp" /> + <RadioButton + android:id="@+id/call_type_custom" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Custom" + android:textSize="9sp" /> + <EditText + android:id="@+id/call_type_custom_text" + android:layout_width="90dp" + android:layout_height="wrap_content" + android:text="" + android:inputType="number" /> </RadioGroup> <CheckBox android:id="@+id/call_type_video" |