Skip to content

Commit

Permalink
Release version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinayMe committed Jan 9, 2019
1 parent cc7f831 commit 7289fe6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
29 changes: 29 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,35 @@
## Usage

```
compile 'com.github.dinukapj:ATM-EditText:1.7.3'
compile 'me.abhinay.input:Currency-EditText:1.0.0'
```

## Implementation Sample

XML

```
<com.earthling.atminput.ATMEditText
<me.abhinay.input.CurrencyEditText
android:id="@+id/etInput"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Type value"
android:inputType="number"
android:hint="Type value"/>
android:textSize="24sp" />
```

Code

```
ATMEditText etInput;
CurrencyEditText etInput;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
etInput = (ATMEditText) findViewById(R.id.etInput);
etInput.setCurrency(Currency.MALAYSIA);
etInput = (CurrencyEditText) findViewById(R.id.etInput);
etInput.setCurrency(Currency.USA);
etInput.setDelimiter(false);
etInput.setSpacing(false);
etInput.setDecimals(true);
Expand Down

0 comments on commit 7289fe6

Please sign in to comment.