Increase touch target for suggestion close button.
- wrap the close button icon view in a bigger layout to increase the overall touch area. Fixes: 74220173 Test: manual Change-Id: I45beadf3cfcc6ed1a8a16e6dcb9b8452e1edd78e
This commit is contained in:
@@ -140,7 +140,7 @@ public class SuggestionAdapter extends RecyclerView.Adapter<DashboardItemHolder>
|
||||
mConfig.setCardLayout(holder, position);
|
||||
}
|
||||
|
||||
final ImageView closeButton = holder.itemView.findViewById(R.id.close_button);
|
||||
final View closeButton = holder.itemView.findViewById(R.id.close_button);
|
||||
if (closeButton != null) {
|
||||
closeButton.setOnClickListener(v -> {
|
||||
mSuggestionFeatureProvider.dismissSuggestion(
|
||||
|
Reference in New Issue
Block a user