RoublePriceView

Additional

Language
Java
Version
N/A
Created
Apr 6, 2016
Updated
Nov 13, 2017
Owner
VyacheslavShmakin
Contributor
VyacheslavShmakin
1
Activity
Badge
Generate
Download
Source code

Advertising

Rouble PriceView

Simple PriceView can be used to represent any prices in Russian rouble currency.

Download

Gradle:

compile 'com.github.VyacheslavShmakin.rouble-price-view:1.0.3'

Maven:

<dependency>
    <groupId>com.github.VyacheslavShmakin</groupId>
    <artifactId>rouble-price-view</artifactId>
    <version>1.0.3</version>
    <type>aar</type>
</dependency>

Usage

In Code

If you wanna configure PriceView programmatically you should use these methods:

mYourPriceView.setTextSize(<text size value>);
mYourPriceView.setRegionLength(<region length limiter>);
mYourPriceView.setRoublePadding(<padding value between price and rouble sign>);
mYourPriceView.setTypeface(<set your own typeface if you need>);
mYourPriceView.setTextColor(<just text color>);
mYourPriceView.setValue(<price value>);