Giter Site home page Giter Site logo

circleprogressview's Issues

Library causes error

In Android Studio 2.3.3 MaOSX

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed with multiple errors, see logs

I couldn't understand why. But it emerges error while syncing gradle. Though ./gradlew seems to work ok.

repositories {
    maven { url "https://jitpack.io" }
}

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "26.0.0"
    defaultConfig {
        applicationId "com.uralkemal.colormatic"
        minSdkVersion 17
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:25.3.1'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.android.support:design:25.3.1'
    compile 'com.github.eralpyucel:CircleProgressView:v1.1'
    testCompile 'junit:junit:4.12'
}

Text hidden

Hi,

i use your component but i don't see the text into circle progress view.

This is the xml

<com.eralp.circleprogressview.CircleProgressView
            android:id="@+id/circle_progress_view"
            android:layout_width="0dp"
            android:layout_weight=".2"
            android:layout_height="50sp"
            android:layout_gravity="center"
            android:layout_margin="3sp"
            app:cpv_circle_color="@color/White"
            app:cpv_circle_width="2dp"
            app:cpv_background_circle_width="1dp"
            app:cpv_background_circle_color="#5b253048"
            app:cpv_text_suffix="xp"
            app:cpv_text_size="15"
            app:cpv_text_color="@color/White"/>

This is the code

holder.mCircleProgressView.setTextEnabled(true);
        holder.mCircleProgressView.setInterpolator(new AccelerateDecelerateInterpolator());
        holder.mCircleProgressView.setStartAngle(45);
        holder.mCircleProgressView.setProgressWithAnimation(Float.parseFloat(((ProfiloBEAN) lst.get(position)).getPercentuale()), 3000);
        holder.mCircleProgressView.addAnimationListener(new ProgressAnimationListener() {
            @Override
            public void onValueChanged(float value) {
            }

            @Override
            public void onAnimationEnd() {
            }
        });

Can you help me?

Thanks in advance

Apply prefix text as suffix text

Apply prefix text as suffix text.

More than a problem is a query, is there any way to make the % symbol be a suffix of the text of the view or would it be necessary to recompile the library?

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.