Closed petr-stety-stetka closed 4 years ago
Thanks, this lines added to spinner parent view and now it works fine.
android:descendantFocusability="beforeDescendants"`
android:focusable="true"
android:focusableInTouchMode="true"
android:descendantFocusability="beforeDescendants"`
android:focusable="true"
android:focusableInTouchMode="true"
I added the above lines of code but still couldn't sort the issue. Anybody who has succeded yet?
How do i implement style in java code programatically.I tried in two ways such as :
1st : com.tiper.MaterialSpinner materialSpinner = new com.tiper.MaterialSpinner(this,null,R.style.Widget_MaterialComponents_TextInputLayout_OutlinedBox); ///// Not working
2nd : com.tiper.MaterialSpinner spinner = new com.tiper.MaterialSpinner(new androidx.appcompat.view.ContextThemeWrapper(this, R.style.Widget_MaterialComponents_TextInputLayout_OutlinedBox));
Hi @rajvimal your question seems unrelated with this issue.
I've moved your question to #27
Hi,
I managed to find an unpleasant bug. When I open spinner dropdown I cant' close it. It propably try focus something and reopening spinner dropdown constantly.
However bug is only when MaterialSpinner is first focusable view in layout. Like this:
When I add some focusable view like this:
Material spinner will work fine.