diff options
-rw-r--r-- | src/com/android/dialer/widget/EmptyContentView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/dialer/widget/EmptyContentView.java b/src/com/android/dialer/widget/EmptyContentView.java index 2f5e0d9d7..f248967de 100644 --- a/src/com/android/dialer/widget/EmptyContentView.java +++ b/src/com/android/dialer/widget/EmptyContentView.java @@ -61,6 +61,8 @@ public class EmptyContentView extends LinearLayout implements View.OnClickListen final LayoutInflater inflater = (LayoutInflater) getContext().getSystemService( Context.LAYOUT_INFLATER_SERVICE); inflater.inflate(R.layout.empty_content_view, this); + // Don't let touches fall through the empty view. + setClickable(true); mImageView = (ImageView) findViewById(R.id.emptyListViewImage); mDescriptionView = (TextView) findViewById(R.id.emptyListViewMessage); mActionView = (TextView) findViewById(R.id.emptyListViewAction); |