diff options
author | Yorke Lee <yorkelee@google.com> | 2014-04-21 16:27:14 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-04-22 10:45:34 -0700 |
commit | 6a1461a86ad861b0e04333452e47cb81675459d5 (patch) | |
tree | 535f0be5497b33487354b95cf6c36bdd9c9da3a3 /res | |
parent | cd1fa3922c10f1951f845386cc43dabf69e31ccc (diff) |
Add view call history at bottom of recents
Bug: 13936108
Change-Id: Ic688d65240dada75b014b6684d4bebed208551bd
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/recents_list_footer.xml | 31 | ||||
-rw-r--r-- | res/values/colors.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 3 |
3 files changed, 36 insertions, 2 deletions
diff --git a/res/layout/recents_list_footer.xml b/res/layout/recents_list_footer.xml new file mode 100644 index 000000000..48c0f3614 --- /dev/null +++ b/res/layout/recents_list_footer.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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. +--> + +<!-- Text field and possibly soft menu button above the keypad where + the digits are displayed. --> + +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/recents_list_footer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="20dp" + android:paddingBottom="20dp" + android:gravity="center" + android:textColor="@color/dialtacts_primary_text_color" + android:textSize="14sp" + android:text="@string/recents_footer_text" + android:background="?android:attr/selectableItemBackground" />
\ No newline at end of file diff --git a/res/values/colors.xml b/res/values/colors.xml index cbd116db6..53ff5340a 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -15,9 +15,9 @@ --> <resources> - - <!-- Secondary text color in the Phone app --> + <!-- Primary text color in the Dialer --> <color name="dialtacts_primary_text_color">#000000</color> + <!-- Secondary text color in the Dialer --> <color name="dialtacts_secondary_text_color">#888888</color> <!-- Background color of dialpad --> diff --git a/res/values/strings.xml b/res/values/strings.xml index 07dfd81da..bd9aefb2d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -725,6 +725,9 @@ <!-- Shortcut item used to add a number directly from search --> <string name="search_shortcut_add_to_contacts">Add to contacts</string> + <!-- Title for the recent calls footer that brings users to the full call history when clicked --> + <string name="recents_footer_text">View full call history</string> + <!-- Number of missed calls shown on call card [CHAR LIMIT=40] --> <string name="num_missed_calls"><xliff:g id="number">%s</xliff:g> new missed calls</string> |