Skip to content

Commit

Permalink
1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
HITGIF committed Nov 22, 2017
1 parent d2594f1 commit 82e13a4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
21 changes: 7 additions & 14 deletions README.md
@@ -1,7 +1,6 @@
# TextFieldBoxes

[![Build Status](https://travis-ci.org/HITGIF/TextFieldBoxes.svg?branch=master)](https://travis-ci.org/HITGIF/TextFieldBoxes)
[![Code Climate](https://codeclimate.com/github/HITGIF/TextFieldBoxes/badges/gpa.svg)](https://codeclimate.com/github/HITGIF/TextFieldBoxes)
[![JitPack](https://jitpack.io/v/HITGIF/TextFieldBoxes.svg)](https://jitpack.io/#HITGIF/TextFieldBoxes)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TextFieldBoxes-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6158)
[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15)
Expand All @@ -19,22 +18,16 @@ A new Material Design text field that comes in a box, based on Google Material D
## ***UPDATE NOTICE***

#### 1.3.7 Release
- fix issue #37 #38.

#### 1.3.6 Release
- fix issue #34 and reoccurring #14.

- add getter for onError (#33).

- the space for the floating label at the top will be removed when `labelText` is empty (#35).

#### 1.3.5 Release
- fix issue #31 #32.

- add `giveFocus` param in `setError()` for setting whether the field will gain focus when set error on.

- add `secondaryColor` for setting the color of the underline, the floating label text and the icon signifier **when NOT HAVING** focus (opposite to `primaryColor`).

- add `counterColor` for setting the color of the counter text.

## Requirements
- Android 4.0.3 IceCreamSandwich (API lv 15) or greater
Expand All @@ -55,7 +48,7 @@ allprojects {
```
```groovy
dependencies {
   compile 'com.github.HITGIF:TextFieldBoxes:1.3.6'
   compile 'com.github.HITGIF:TextFieldBoxes:1.3.7'
}
```

Expand All @@ -72,7 +65,7 @@ dependencies {
<dependency>
<groupId>com.github.HITGIF</groupId>
<artifactId>TextFieldBoxes</artifactId>
   <version>1.3.6</version>
   <version>1.3.7</version>
</dependency>
```

Expand All @@ -81,7 +74,7 @@ dependencies {
resolvers += "jitpack" at "https://jitpack.io"
```
```scala
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.6"
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.7"
```


Expand All @@ -90,7 +83,7 @@ libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.6"
:repositories [["jitpack" "https://jitpack.io"]]
```
```scala
:dependencies [[com.github.hitgif/textfieldboxes "1.3.6"]]
:dependencies [[com.github.hitgif/textfieldboxes "1.3.7"]]
```

Expand Down
19 changes: 7 additions & 12 deletions README_CN.md
@@ -1,7 +1,6 @@
# TextFieldBoxes

[![Build Status](https://travis-ci.org/HITGIF/TextFieldBoxes.svg?branch=master)](https://travis-ci.org/HITGIF/TextFieldBoxes)
[![Code Climate](https://codeclimate.com/github/HITGIF/TextFieldBoxes/badges/gpa.svg)](https://codeclimate.com/github/HITGIF/TextFieldBoxes)
[![JitPack](https://jitpack.io/v/HITGIF/TextFieldBoxes.svg)](https://jitpack.io/#HITGIF/TextFieldBoxes)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TextFieldBoxes-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6158)
[![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15)
Expand All @@ -19,20 +18,16 @@
## ***更新注意***

#### 1.3.7 Release
- 修复 issue #37 #38

#### 1.3.6 Release
- 修复 issue #34 与再次出现的 #14

- 增加了对 onError 的获取器(#33)。

- 当顶部标签文本(`labelText`)为空时,其所占的空间将被移除(#35)。

#### 1.3.5 Release
- 修复 issue #31 #32

- 增加 `secondaryColor` 属性以设置底部的线、标签文字和首图标在**失去焦点**时的颜色(与 `primaryColor` 相对)。

- 增加 `counterColor` 属性以设置计数文本的颜色。

## 要求
- Android 4.0.3 IceCreamSandwich (API lv 15) 或更高
Expand All @@ -53,7 +48,7 @@ allprojects {
```
```groovy
dependencies {
   compile 'com.github.HITGIF:TextFieldBoxes:1.3.6'
   compile 'com.github.HITGIF:TextFieldBoxes:1.3.7'
}
```

Expand All @@ -70,7 +65,7 @@ dependencies {
<dependency>
<groupId>com.github.HITGIF</groupId>
<artifactId>TextFieldBoxes</artifactId>
   <version>1.3.6</version>
   <version>1.3.7</version>
</dependency>
```

Expand All @@ -79,7 +74,7 @@ dependencies {
resolvers += "jitpack" at "https://jitpack.io"
```
```scala
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.6"
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.7"
```


Expand All @@ -88,7 +83,7 @@ libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.3.6"
:repositories [["jitpack" "https://jitpack.io"]]
```
```scala
:dependencies [[com.github.hitgif/textfieldboxes "1.3.6"]]
:dependencies [[com.github.hitgif/textfieldboxes "1.3.7"]]
```

Expand Down

0 comments on commit 82e13a4

Please sign in to comment.