InvertedTextProgressBar icon indicating copy to clipboard operation
InvertedTextProgressBar copied to clipboard

Progress bar with text that, when the bar reaches the text it changes the color of the overlapping text.

Inverted Text Progress bar

Android progress bar with text that, when the bar reaches the text, changes the color of the overlapping text.


Sample gif - Use the sample.apk for better quality.

Code usage

Example of usage of the lib in xml layout (all of this can be done programmatically):

<com.danilomendes.progressbar.InvertedTextProgressbar
                android:id="@+id/itp_progress_2"
                android:layout_width="match_parent"
                android:layout_height="48dp"
                android:src="@drawable/background_orange"
                android:onClick="onClick"
                lib:text="Colors and sizes"
                lib:text_color="#666666"
                lib:text_inverted_color="#FFFFFF"
                lib:text_size="18sp"/>

How to use in project

#####Option 1 - JCenter or maven

    compile 'com.danilomendes.progressbar:progressbar:1.0.2'

#####Option 3 - Import project Import the lib "progress" or embed it into your project with your tweaks as you like.