diff options
Diffstat (limited to 'java/com/android/dialer/voicemail/listui/res')
3 files changed, 38 insertions, 0 deletions
diff --git a/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry_header.xml b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry_header.xml new file mode 100644 index 000000000..84fcc377e --- /dev/null +++ b/java/com/android/dialer/voicemail/listui/res/layout/new_voicemail_entry_header.xml @@ -0,0 +1,29 @@ +<?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 + --> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:height="48dp" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <TextView + android:id="@+id/new_voicemail_header_text" + style="@style/SecondaryText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="@dimen/voicemail_header_margin_start" + android:layout_centerVertical="true"/> +</RelativeLayout> diff --git a/java/com/android/dialer/voicemail/listui/res/values/dimens.xml b/java/com/android/dialer/voicemail/listui/res/values/dimens.xml index e37bc65fe..52fad4917 100644 --- a/java/com/android/dialer/voicemail/listui/res/values/dimens.xml +++ b/java/com/android/dialer/voicemail/listui/res/values/dimens.xml @@ -36,4 +36,6 @@ <!-- TODO(uabdullah): Work with UX on these values so that the touch target is not too small --> <dimen name="voicemail_media_player_height">56dp</dimen> <dimen name="voicemail_media_player_width">0dp</dimen> + + <dimen name="voicemail_header_margin_start">16dp</dimen> </resources> diff --git a/java/com/android/dialer/voicemail/listui/res/values/strings.xml b/java/com/android/dialer/voicemail/listui/res/values/strings.xml index 508f67436..53c525279 100644 --- a/java/com/android/dialer/voicemail/listui/res/values/strings.xml +++ b/java/com/android/dialer/voicemail/listui/res/values/strings.xml @@ -27,4 +27,11 @@ <!-- String used to display the default staring point of a voicemail--> <string name="voicemail_media_player_inital_start_position" translatable="false">00:00</string> + + <!-- Header in voicemail tab to group calls from the current day. [CHAR LIMIT=30] --> + <string name="new_voicemail_header_today">Today</string> + + <!-- Header in voicemail tab to group calls from before the current day. [CHAR LIMIT=30] --> + <string name="new_voicemail_header_older">Older</string> + </resources>
\ No newline at end of file |