diff options
Diffstat (limited to 'java/com/android/dialer/calldetails/res')
3 files changed, 10 insertions, 25 deletions
diff --git a/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml b/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml index fbca3f8fe..dddb45156 100644 --- a/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml +++ b/java/com/android/dialer/calldetails/res/layout/call_details_footer.xml @@ -50,4 +50,13 @@ android:drawableStart="@drawable/quantum_ic_report_grey600_24" android:text="@string/call_details_report_call_id" android:visibility="gone"/> + + <TextView + android:id="@+id/call_detail_action_delete" + style="@style/CallDetailsActionItemStyle" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:drawableStart="@drawable/quantum_ic_delete_vd_theme_24" + android:tint="@color/dialer_secondary_text_color" + android:text="@string/delete"/> </LinearLayout> diff --git a/java/com/android/dialer/calldetails/res/menu/call_details_menu.xml b/java/com/android/dialer/calldetails/res/menu/call_details_menu.xml deleted file mode 100644 index df0c34827..000000000 --- a/java/com/android/dialer/calldetails/res/menu/call_details_menu.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2017 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" - xmlns:app="http://schemas.android.com/apk/res-auto"> - <item - android:id="@+id/call_detail_delete_menu_item" - android:icon="@drawable/quantum_ic_delete_white_24" - android:title="@string/delete" - app:showAsAction="ifRoom"/> -</menu>
\ No newline at end of file diff --git a/java/com/android/dialer/calldetails/res/values/strings.xml b/java/com/android/dialer/calldetails/res/values/strings.xml index 1441efdcd..74ac71c32 100644 --- a/java/com/android/dialer/calldetails/res/values/strings.xml +++ b/java/com/android/dialer/calldetails/res/values/strings.xml @@ -18,7 +18,7 @@ <!-- Title bar for call detail screen --> <string name="call_details">Call details</string> - <!-- Menu item in call details used to remove a call or voicemail from the call log. --> + <!-- Text for the action item to remove a call or voicemail from the call log. --> <string name="delete">Delete</string> <!-- Option displayed in context menu to copy long pressed phone number. [CHAR LIMIT=48] --> |