Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83e8ced9 authored by Luca Zanolin's avatar Luca Zanolin Committed by Android (Google) Code Review
Browse files

Merge "Change the width of the suggestion item to match the one of the suggestion pop-up"

parents 636da638 58707d62
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9770,6 +9770,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            View view = null;
            for (int i = 0; i < mNumberOfSuggestions; i++) {
                view = mSuggestionsAdapter.getView(i, view, mContentView);
                view.getLayoutParams().width = LayoutParams.WRAP_CONTENT;
                view.measure(horizontalMeasure, verticalMeasure);
                width = Math.max(width, view.getMeasuredWidth());
            }
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
-->

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="wrap_content"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:paddingLeft="16dip"
          android:paddingRight="16dip"