Giter Club home page Giter Club logo

Comments (8)

nico2sh avatar nico2sh commented on August 15, 2024

Try with

compile 'com.pnikosis:materialish-progress:1.3'

In your gradle file (not 1.2).

from materialish-progress.

fbis251 avatar fbis251 commented on August 15, 2024

Hey @pnikosis I have also tried to include your library in a brand new project, used the dependency, example XML and java lines from the README. Once I compile the layout is showing me that the wheel gets instantiated but the layout doesn't have anything inside it or is invisible.

bug

It basically looks like that once I compile and run the app on my device. Just a blank space

from materialish-progress.

nico2sh avatar nico2sh commented on August 15, 2024

It is normal to see a blank space in the layout view. Probably I should put something in edit mode.

from materialish-progress.

fbis251 avatar fbis251 commented on August 15, 2024

The device also only displays a blank box, exactly as it displays on the layout editor. I can take a screenshot of the device for you.

from materialish-progress.

nico2sh avatar nico2sh commented on August 15, 2024

Sorry if it is a stupid question, but have you set the progress as indeterminate? (or set a progress value)

Also, what's the rIm width? and color? have you override them?

from materialish-progress.

fbis251 avatar fbis251 commented on August 15, 2024

Okay I made a little progress by reverting back to version 1.2. Version 1.3 is not recognizing the wheel: prefix and I am unable to style the wheel using XML only.

With 1.2 I can control the wheel both with XML (using the wheel prefix) and Java.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                xmlns:wheel="http://schemas.android.com/apk/res-auto"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                tools:context=".MainActivity">

    <com.pnikosis.materialishprogress.ProgressWheel
            android:id="@+id/progress_wheel"
            android:layout_width="80dp"
            android:layout_height="80dp"
            wheel:barColor="#00ff00"
            wheel:progressIndeterminate="true"/>
</RelativeLayout>

Again, the above XML works fine with 1.2 but not 1.3

from materialish-progress.

fbis251 avatar fbis251 commented on August 15, 2024

Alright I found the issue, I was using the example in the README which doesn't use the updated prefixes. Once I used the updated prefixes I no longer have an issue.

I opened a pull request to update the README
#15

Thanks for your awesome library!

from materialish-progress.

Sradhenduway avatar Sradhenduway commented on August 15, 2024

i m new in android . i want to use sweet alert dialog but i having error.when i try to sync.

"Unable to resolve dependency for ':library@debug/compileClasspath': Could not resolve com.pnikosis:materialish-progress:1.0.

Could not resolve com.pnikosis:materialish-progress:1.0.
Required by:
project :library

No cached version of com.pnikosis:materialish-progress:1.0 available for offline mode."

from materialish-progress.

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.