commit | e79ae5c6b8a8a5bee3cf6080c3fc61abb48b2ace | [log] [tgz] |
---|---|---|
author | Alex Stetson <alexstetson@google.com> | Wed May 06 14:27:39 2020 -0700 |
committer | Alex Stetson <alexstetson@google.com> | Wed May 06 14:27:39 2020 -0700 |
tree | 70844ef55a0e67f2c658d6612114dce11ae72144 | |
parent | d1b08e7149f1d27a26c778ab48f8493db5401651 [diff] |
Align saved query text Text placement was too high due to (blank) summary view still being visible Bug: 155916744 Test: manual Change-Id: Iaf849ba4e4e861600acb300f67385e7b146933c4
diff --git a/src/com/android/settings/intelligence/search/savedqueries/car/CarSavedQueryViewHolder.java b/src/com/android/settings/intelligence/search/savedqueries/car/CarSavedQueryViewHolder.java index 00cff25..0f03c23 100644 --- a/src/com/android/settings/intelligence/search/savedqueries/car/CarSavedQueryViewHolder.java +++ b/src/com/android/settings/intelligence/search/savedqueries/car/CarSavedQueryViewHolder.java
@@ -36,6 +36,7 @@ public void onBind(CarSearchFragment fragment, SearchResult result) { mTitle.setText(result.title); mIcon.setImageResource(R.drawable.ic_restore); + mSummary.setVisibility(View.GONE); itemView.setOnClickListener(v -> { fragment.onSavedQueryClicked(CarSavedQueryViewHolder.this, result.title); });