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

Commit c1d71003 authored by Ben Komalo's avatar Ben Komalo Committed by Android (Google) Code Review
Browse files

Merge "Fix Spinners that don't have a hard pixel width set....

Merge "Fix Spinners that don't have a hard pixel width set. getDimensionPixelSize -> getLayoutDimension"
parents 0601be08 bdaa34c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public class Spinner extends AbsSpinner implements OnClickListener {

            DropdownPopup popup = new DropdownPopup(context, attrs, defStyle, hintResource);

            popup.setWidth(a.getDimensionPixelSize(
            popup.setWidth(a.getLayoutDimension(
                    com.android.internal.R.styleable.Spinner_dropDownWidth,
                    ViewGroup.LayoutParams.WRAP_CONTENT));
            popup.setBackgroundDrawable(a.getDrawable(