Comments (4)
Will you please provide a screenshot. I will re-open the issue when more details are provided. Thanks.
from materialspinner.
First of all thanks for the library I really liked it!
My question is the following:
In this image when selecting "All" two options are cut
When selecting "Month" no options are cut
When selecting "Week" no options are cut, and when selecting "Year" only "Month" option is cut.
The code I'm using is:
dateSpinner = (MaterialSpinner) rootView.findViewById(R.id.history_date_spinner);
dateSpinner.setItems("Month", "Week", "Year", "All");
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/history_date_spinner"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_marginLeft="50dp"
android:layout_marginStart="50dp"
app:ms_arrow_tint="@android:color/white"
app:ms_background_color="@color/colorPrimary"
app:ms_text_color="@android:color/white" />
The version of the library is 1.2.0
Is the shrinking a feature or a bug? If it is a feature then it is inconsistent, it seems to not follow any formatting rules. When selecting "Week" a 4 character word no options are cut, but when selecting "Year", also four characters it cuts one of the options.
Is there any way to disable it?
Thanks for supporting the library 👍
from materialspinner.
This will be fixed in 1.2.1. You can also specify the layout_height instead of setting wrap_content.
from materialspinner.
Updated to 1.2.1 and issue was fixed.
from materialspinner.
Related Issues (20)
- If we disable the item,we can able to select that item
- I don't want to hide the Adapter HOT 1
- Selected Item shows with .toString() HOT 2
- Spinner only expands below the view. HOT 1
- Spinner Trigger Item
- Add an option to make changes in drop down text alignment
- Update Request ?
- arrow not show HOT 1
- nothing selected
- How to set maximum number of items ?
- Viewpager2 fragment freezes custom spinner widget when returned after swiping HOT 2
- Items not showing on spinner click , after changing spinner visibility from Gone to visible HOT 1
- When I used it in my Presentation, there were no drop-down boxes
- 麻烦修复下这个异常java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 onRestoreInstanceState
- Cannot add two spinner under same layout HOT 1
- DropDown menu doesn't work when change fragment HOT 1
- Inflate Exception
- Do not showing the Spinner Selected item. HOT 1
- MaterialSpinner Hint HOT 1
- Top and bottom offset in the popup list
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from materialspinner.