eluleci / FlatUI

Android FlatUI Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation - Samples

cheenu opened this issue · comments

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.

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?

Using the latest version (2.1.1) btw

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?

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

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