summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/widget
diff options
context:
space:
mode:
authoruabdullah <uabdullah@google.com>2018-02-28 15:54:50 -0800
committerCopybara-Service <copybara-piper@google.com>2018-02-28 17:11:29 -0800
commit210452f13a70de30a46c4ee2aa41668f840dfefd (patch)
tree593cb33e3260fdc0da1d356c5c2df847279121db /java/com/android/dialer/widget
parent360c751fe5f6e75d45dfbe05facf225bfe5d2eca (diff)
Show empty view when there are no voicemails
When there are no voicemails to be shown, we show an empty view. This is done by hiding the recycler view and showing the empty view. Similarly when a voicemail is present, we hide the empty view and then show the recycler view. Bug: 25661977 Test: Unit Tests PiperOrigin-RevId: 187396952 Change-Id: Ifa718fb05c1be37aabdf4c91bc2c1653357565b2
Diffstat (limited to 'java/com/android/dialer/widget')
-rw-r--r--java/com/android/dialer/widget/res/layout/empty_content_view.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/widget/res/layout/empty_content_view.xml b/java/com/android/dialer/widget/res/layout/empty_content_view.xml
index 177744385..9aac6f48f 100644
--- a/java/com/android/dialer/widget/res/layout/empty_content_view.xml
+++ b/java/com/android/dialer/widget/res/layout/empty_content_view.xml
@@ -18,7 +18,7 @@
<ImageView
android:id="@+id/empty_list_view_image"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="108dp"
android:gravity="center_horizontal"/>
<TextView