summaryrefslogtreecommitdiffstats
path: root/java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml
diff options
context:
space:
mode:
authorcalderwoodra <calderwoodra@google.com>2017-08-18 15:03:13 -0700
committerEric Erfanian <erfanian@google.com>2017-08-30 15:46:35 +0000
commit929674acc5ff2798b767692bbad4143575d31c3b (patch)
tree129bb34c0c644e1949938e3200f9a06a865922cb /java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml
parente89e0f58b5e6159a76baebc1b4e0b5063007e467 (diff)
downloadandroid_packages_apps_Dialer-929674acc5ff2798b767692bbad4143575d31c3b.tar.gz
android_packages_apps_Dialer-929674acc5ff2798b767692bbad4143575d31c3b.tar.bz2
android_packages_apps_Dialer-929674acc5ff2798b767692bbad4143575d31c3b.zip
Refactor dialpad fragment out of dialer/app to be reused in nui
This change updates a few things: - Adds a listener for the dialpad to call into dialtacts activity - updates FragmentUtils to accept non-support fragments - migrates a few other related (tightly coupled) classes to their own package - general QoL changes Bug: 37748839,37208802 Test: existing PiperOrigin-RevId: 165757904 Change-Id: I506e97ad9a01d07c760e766eccc4d146f8e0931a
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml')
-rw-r--r--java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml b/java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml
new file mode 100644
index 000000000..2921ea3bb
--- /dev/null
+++ b/java/com/android/dialer/dialpadview/res/menu/dialpad_options.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 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.
+-->
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item
+ android:id="@+id/menu_2s_pause"
+ android:showAsAction="withText"
+ android:title="@string/add_2sec_pause"/>
+ <item
+ android:id="@+id/menu_add_wait"
+ android:showAsAction="withText"
+ android:title="@string/add_wait"/>
+ <item
+ android:id="@+id/menu_call_with_note"
+ android:showAsAction="withText"
+ android:title="@string/call_with_a_note"/>
+</menu>