Git Product home page Git Product logo

Comments (4)

mathew-kurian avatar mathew-kurian commented on June 27, 2024

@khalid-hussain Make a "HelloWorld App" and just drag the files into the main directory. If you can wait for another day, I will push in a Android Studio project complete with samples.

from textjustify-android.

khalid-hussain avatar khalid-hussain commented on June 27, 2024

Okay I got it. Thanks a lot for the help.

For others:
Put the .java files from the library into the main folder under the java folder. In my case the files needed to be put in :

app/src/main/java/com.example.HelloWorld/

And then in the layout file, instead of :

<com.textjustify.TextViewEx
        android:id="@+id/textview"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

Use:

<com.example.HelloWorld.TextViewEx
        android:id="@+id/textview"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />

Change the details according to your project.

from textjustify-android.

mathew-kurian avatar mathew-kurian commented on June 27, 2024

@khalid-hussain If you want, you can check out the experimental version which has more features. More details on the README.md. It has a sample application you can build on Android Studio.

from textjustify-android.

khalid-hussain avatar khalid-hussain commented on June 27, 2024

Thanks for the heads up.

from textjustify-android.

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.