Coder Social home page Coder Social logo

How to use in Eclipse about flatui HOT 3 CLOSED

NiranjanShah avatar NiranjanShah commented on September 27, 2024
How to use in Eclipse

from flatui.

Comments (3)

eluleci avatar eluleci commented on September 27, 2024

I haven't tried to use this with eclipse before but I can give you some suggestions.

If you use Gradle in your Eclipse project just add the dependency to your project.

If the project has the old Android Project structure you can do the followings.

  • create a package in your project and copy all the .java files and packages from the com.cengalabs.flatui package
  • then copy the attrs.xml and colors.xml files from the library into your project's res directory
  • if you are using the fonts, you must also copy the assets folder into your project's assets folder
  • while using the views, you must point to the package that you put the views package to. ex:
<your.package.name.views.FlatTextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    flatui:fl_fieldStyle="flat" />

This is the only solution I can figure out. But if there is a new update in the library you need to get the changed files again and put into your project. (if you need the new changes)

I hope that works for you. Please tell me if it works or not, to close the issue.

from flatui.

NiranjanShah avatar NiranjanShah commented on September 27, 2024

Thank you very much for the reply, really appreciate and I am thankful @
the same time, I have done the needful and was able to run the sample app,
however when I am using the flat edittext in my app, @ the run time it is
giving error stating flatrdittext cannot be cast to view group...

Request your input for the same.

BTw,it is Diwali in India and it is one of the major festivalof India and
it is also a new year for us so I would like to take this opportunity to
wish you and your family a Happy Diwali and a prosperous New year...

Regards
On Oct 22, 2014 4:31 PM, "Emrullah Lüleci" [email protected] wrote:

I haven't tried to use this with eclipse before but I can give you some
suggestions.

If you use Gradle in your Eclipse project just add the dependency to your
project.

If the project has the old Android Project structure you can do the
followings.

  • create a package in your project and copy all the .java files and
    packages from the com.cengalabs.flatui package
  • then copy the attrs.xml and colors.xml files from the library
    into your project's res directory
  • if you are using the fonts, you must also copy the assets folder
    into your project's assets folder
  • while using the views, you must point to the package that you put
    the views package to. ex:

<your.package.name.views.FlatTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
flatui:fl_fieldStyle="flat" />

This is the only solution I can figure out. But if there is a new update
in the library you need to get the changed files again and put into your
project. (if you need the new changes)

I hope that works for you. Please tell me if it works or not, to close the
issue.


Reply to this email directly or view it on GitHub
#35 (comment).

from flatui.

eluleci avatar eluleci commented on September 27, 2024

Thank you very much, you're so kind. I wish you a happy new year too. :)

For the error, if you could give the error log I may look at the problem.

from flatui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.