Comments (4)
Add method for changing current value in your adapter. Then attache
changelistener to your wheelview. In onChanged(WheelView wheel, int oldValue,
int newValue) function set the newValue to adapters current value and call
wheel.invalidateWheel(true). This will clear LinearLayout that holds items, and
you always get current value be highlighted.
Original comment by [email protected]
on 1 Oct 2013 at 2:13
from android-wheel.
In fact I just changed the colors defined in wheel_val.xml this now shows the
current selected item as I want, so a fairly easy solution.
thanks for your help.
Original comment by [email protected]
on 10 Oct 2013 at 6:54
from android-wheel.
please explain in detail how to change the color of selected text in wheel
picker
Original comment by [email protected]
on 4 Aug 2014 at 12:01
from android-wheel.
i want to change the color and text size of current selected value in wheeler
like ios do.
Original comment by [email protected]
on 19 Dec 2014 at 6:01
from android-wheel.
Related Issues (20)
- setLable function
- Handler class should be static or leaks might occur (Android Lint)
- how to increase scroll time when we use setCurrentItem(value,true)? HOT 1
- Binary XML file line #44: Error inflating class kankan.wheel.widget.WheelView HOT 3
- How to make wheel always win
- java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap HOT 1
- Some changes I made while using your control
- make in horozontal
- Single item animation HOT 3
- Issue #5 is not fixed HOT 2
- Android-Wheel ListView
- Wheelview width not filling parent
- Using the choosen value
- wheels.addClickingListener not fire
- transform into fragment
- How can i implement ?
- Images space doesn't maintain in fairways wheel
- How can i shift the position of selected item upside.
- date_layout.xml: Could not resolve resource value: 0x7F020009
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 android-wheel.