Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating label advice #9

Open
dneykov opened this issue Apr 7, 2017 · 5 comments
Open

Floating label advice #9

dneykov opened this issue Apr 7, 2017 · 5 comments

Comments

@dneykov
Copy link

dneykov commented Apr 7, 2017

Hi,
I tried to make GooglePlacesAccessoryRow with floating label but without success. Can somebody give me an advice how can I achieve that?
Thanks in advance.

@mats-claassen
Copy link
Member

I guess this can be difficult. The times I used a Floating label, I had to change the class of the textfield which meant I had to create the cell from scratch without subclassing _FieldCell. This means a lot of repeated code as I wanted all of the functionality of _FieldCell. I am not sure if you can get around that.

@dneykov
Copy link
Author

dneykov commented Apr 17, 2017

Thanks for explanation.
So I should assume switching to generic TextFields in my app

@mats-claassen
Copy link
Member

Eureka 3.0 supports creating almost all cells from nib files so that it might be easier when we adapt GooglePlacesRow to that version (should be soon).
With that it could be possible to implement the floating label easier.

@dimidrollko
Copy link

@mats-claassen
Is it possible now to provide custom NIB file?

@mats-claassen
Copy link
Member

I added an example with a custom Nib file in #27.
You can see it running the Examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants