Comments (5)
Please wait until the #10 issue (custom view for wheel items) will implemented.
You will have an ability to set the text size for wheel.
Also it will be possible to set the width for each wheel.
So you can set necessary wheel width (depending on wheel amount and the OK
button size) and calculate text size.
Original comment by [email protected]
on 16 Jan 2011 at 8:18
from android-wheel.
The only problem I see with limiting the text size to a custom view is not
being able to have that flexibility to change the size in the widget. I am
working on a project where I am trying to build one app that can work on both a
phone, and tablet. They have separate layouts, but since they share the same
id's, using a custom view limits me to adjusting the size for the phone, while
the tablet one is not really scaled right. This would also be the case with
font styles as well. This might fix the above persons issue as well.
Original comment by [email protected]
on 8 Jun 2011 at 1:44
from android-wheel.
The solution is to use different layouts for custom views depending on display
parameters, or different styles.
A one more solution is to implement custom adapter that calculates text size
according to display resolution and density.
Original comment by [email protected]
on 8 Jun 2011 at 7:00
from android-wheel.
I am already using custom adapters right now, but I will have to look into
adjusting based on density or display res.
Are those attributes factored in to the current adapter?
Original comment by [email protected]
on 8 Jun 2011 at 7:05
from android-wheel.
No, there are used simple adapters just to demonstrate the wheel functionality.
Original comment by [email protected]
on 8 Jun 2011 at 7:16
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
- Highlight selected Item HOT 4
- 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.