A
A
afna2015-09-12 11:49:09
Java
afna, 2015-09-12 11:49:09

Why is the ProgressView class not visible?

Hello! I'm trying the material
library on the Intellij idea for Android, specifically Progress . Added to build.gradle:

dependencies {
    compile 'com.github.rey5137:material:1.2.1'
}

In xml added
<com.rey.material.widget.ProgressView
            android:layout_width="match_parent"
            android:layout_height="4dp"
            app:pv_autostart="true"
            app:pv_circular="false"
            app:lpd_strokeColor="@android:color/holo_red_light"
            app:pv_progressStyle="@style/Material.Drawable.LinearProgress"
            app:pv_progressMode="indeterminate"/>

The project is building.
But I can't use ProgressView in code. Writes that the class is not found.
Why is this class not visible?
What needs to be done to make it visible in the code?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Berkov, 2015-09-12
@sulik93

Did you add it to that build.gradle file? You may also need to sync. Check External libraries, if there are no files of this library, then you are doing something wrong. Use the sample from the github and compare what is wrong with you.

A
afna, 2015-09-12
@sulik93

3faa91726db64b598debd62311b46db3.PNG
and also tried this:
7197da2d34a249028ef65e8c21507a08.PNG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question