Comments (10)
Today I have also noticed that most of the selected page title poor quality comes from the fact that the text is being drawn twice, one on top of the other. I couldn't fix that issue per se but I changed the code enough to see how it would look like if the title were to be drawn only once and looked much better (but not as good as a TextView render).
from viewpagerindicator.
Here's a simple fix for the issue: #48
from viewpagerindicator.
Just to make it clear, that fix does not exactly fix the issue here described. It's only for the "double title drawing", not for the general poor text rendering quality.
from viewpagerindicator.
It's not the perfect solution but like you already said, still much better than before... I thought it would be a good temporary solution until the control has been rewritten to use TextViews.
from viewpagerindicator.
Yes, but that's just for the selected title, the other ones don't have this "double drawing" problem.
But this is just a feature request to rewrite the control with TextViews, @JakeWharton hasn't pitched in yet so we don't know what he feels about such rewrite...
from viewpagerindicator.
See #34 for my view on the subject :)
from viewpagerindicator.
Alright. For people in need of a quick fix it might still be helpful ;)
from viewpagerindicator.
Agreed. Will merge tonight and probably release as well. I want to get this out before sweeping changes start happening.
from viewpagerindicator.
Didn't notice #34, sorry...
I guess this issue can be closed then?
from viewpagerindicator.
Closed... but not dead.
from viewpagerindicator.
Related Issues (20)
- Image from Network support..? HOT 2
- Provide Gradle packaging support
- CirclePageIndicator is drawn outside while pager is swiped to the last position. HOT 1
- CirclePageIndicator doesn't support edit mode HOT 3
- Mark deprecated HOT 5
- There has an error?How do it?Can you give me an answer? HOT 1
- NPE HOT 7
- Indicator is not visible on 5.0 and greater HOT 4
- build gradle dependency missing HOT 4
- Inifivite ViewPager
- Disable tab click dynamically with ViewPager
- Vertical ViewpagerIndicator HOT 3
- Indicator by itens percentage
- cannot resolve symbol 'TestAdapter' in pager.setAdapter(new TestAdapter(getSupportFragmentManager()));
- Disable swipe in CirclePageIndicator HOT 1
- Crash when using color values from styles. HOT 15
- java.lang.NullPointerException HOT 2
- LinePageIndicator --> FloatMath.ceil
- NullPointerException, call beginFakeDrag before fakeDragBy
- listview的ViewPagerIndicator有手势BUG
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 viewpagerindicator.