material-components-web-catalog icon indicating copy to clipboard operation
material-components-web-catalog copied to clipboard

Style ExposedDropdownMenu is bad performance of Smooth

Open voarlese opened this issue 5 years ago • 1 comments

<com.google.android.material.textfield.TextInputLayout style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="4dp" android:hint="@string/cat_textfield_label" app:errorEnabled="true" app:helperText="@string/cat_textfield_outlined_exposed_dropdown_helper_text" app:helperTextEnabled="true"> <AutoCompleteTextView android:id="@+id/outlined_exposed_dropdown" android:layout_width="match_parent" android:layout_height="wrap_content" android:inputType="none"/> </com.google.android.material.textfield.TextInputLayout> Use this with ViewPager + Fragment, scroll and init is very lag I found out is happen when use the style @style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu

voarlese avatar Aug 03 '20 05:08 voarlese

0919fb86f1b61727ebcc39ff6ea4203cbfce0381

hashemitebarhossein963 avatar Jan 16 '24 10:01 hashemitebarhossein963