Comments (4)
*SOLVED BY:
adding in class DefaultLabelAnimator
in method: setLabelAnchored
after calculating the float values, add:
ViewGroup.LayoutParams params = label.getLayoutParams();
params.width = inputWidget.getWidth() - inputWidget.getPaddingLeft() - inputWidget.getPaddingRight();
label.setLayoutParams(params);
from android-floatinglabel-widgets.
Hi,
can you submit a pull request against the develop branch so that we can merge it easily?
I think the proper way to fix that would be to use paddingStart
and paddingEnd
instead of paddingLeft
and paddingRight
.
thanks for the report, good catch.
from android-floatinglabel-widgets.
i did...
i am not familiar with the whole gitHub stuff, so maybe i did it wrong....
Raz Maimon / Project Manager, Dev. Team Leader
[email protected] /054-6539487
IdeoMobile
http://www.Ideomobile.com http://www.ideomobile.com/
On Wed, Jul 1, 2015 at 6:09 PM, Vincent Prat [email protected]
wrote:
Hi,
can you submit a pull request against the develop branch so that we can
merge it easily?I think the proper way to fix that would be to use paddingStart and
paddingEnd instead of paddingLeft and paddingRight.thanks for the report, good catch.
—
Reply to this email directly or view it on GitHub
#35 (comment)
.
from android-floatinglabel-widgets.
Ok. Thanks, I'll have a look as soon as I get time.
from android-floatinglabel-widgets.
Related Issues (20)
- Text misaligned with text cursor HOT 2
- Vertical alignment of text not consistent HOT 11
- Gradle support HOT 1
- Style contains key with bad entry HOT 2
- Gradle error: Library is not a library itself HOT 2
- Limited to minSdkVersion 15 HOT 2
- Disable/Enable widgets programmatically HOT 3
- Specify hint size when textview not empty HOT 1
- Date picker month is -1 HOT 1
- Implement setOnFocusChangeListener() for text fields HOT 1
- Use the new AppCompat widgets
- Labels not animated properly after #29
- NPE with FloatingLabelAutoCompleteTextView and AppCompat 22.1.1 on API 21+ HOT 2
- Different date format for JavaDateInstant HOT 4
- Is it possible to disable drawableRight for pickers? HOT 2
- Label is not floating away when setInputWidgetText() is used HOT 5
- Error in license
- Compatibility with Saaripaar Validation Library
- import to android studio
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-floatinglabel-widgets.