From 0539c35bc125843217db999c935be991365c5b6c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 28 Oct 2015 18:26:00 -0700 Subject: Restyle add button for blocked number settings. + Convert from button into list item with ripple feedback. - Removed divider line between list items, including the custom background drawable which used to be used to achieve the divider only for the bottom border. Bug: 25356667 Change-Id: Ic19fd8b895b7b12a140c64a945f8ac8571e0a510 --- src/com/android/dialer/filterednumber/BlockedNumbersFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android') diff --git a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java index 853076c26..24fd1a64c 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java +++ b/src/com/android/dialer/filterednumber/BlockedNumbersFragment.java @@ -94,7 +94,7 @@ public class BlockedNumbersFragment extends ListFragment getActivity().findViewById(R.id.import_button).setOnClickListener(this);; getActivity().findViewById(R.id.view_numbers_button).setOnClickListener(this); - getActivity().findViewById(R.id.add_number_button).setOnClickListener(this); + getActivity().findViewById(R.id.add_number_textview).setOnClickListener(this); } @Override @@ -182,7 +182,7 @@ public class BlockedNumbersFragment extends ListFragment } switch (view.getId()) { - case R.id.add_number_button: + case R.id.add_number_textview: activity.showSearchUi(); break; case R.id.view_numbers_button: -- cgit v1.2.3