Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Documentation - Samples #31

Closed
cheenu opened this issue Aug 23, 2014 · 5 comments
Closed

Documentation - Samples #31

cheenu opened this issue Aug 23, 2014 · 5 comments

Comments

@cheenu
Copy link

cheenu commented Aug 23, 2014

I tried this but it doesn't work (gives an error Error parsing XML: unbound prefix)

<com.cengalabs.flatui.views.FlatEditText
    ...
    flatui:fl_fieldStyle="flat" />

However, this works

<com.cengalabs.flatui.views.FlatEditText
    ...
    fl_fieldStyle="flat" />

If the latter is the expected behaviour, maybe the documentation can be updated.

@cheenu
Copy link
Author

cheenu commented Aug 23, 2014

Actually, scratch that ... I just tried

<com.cengalabs.flatui.views.FlatEditText
    ...
    fl_fieldStyle="box" />

and it didn't change to box style (although it doesn't give an error, compiles fine)

What am I doing wrong?

@cheenu
Copy link
Author

cheenu commented Aug 23, 2014

Using the latest version (2.1.1) btw

@eluleci
Copy link
Owner

eluleci commented Aug 26, 2014

If it says unbound prefix it means that you didn't add the namespace to your layout file. If you look at the main layout of the sample project you'll see there is namespace added at 3rd line. Do you have it there?

@cheenu
Copy link
Author

cheenu commented Aug 26, 2014

Right, thats it. Knew I was missing something simple. 😄

@eluleci
Copy link
Owner

eluleci commented Aug 26, 2014

it is always because of small things :D nice that it is fixed

@eluleci eluleci closed this as completed Aug 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants