Skip to content

Commit 8959a59

Browse files
authored
Update README.md
1 parent c951d9e commit 8959a59

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

+13-10
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
![Animation](/images/tfb1.gif)
1212

13-
A new Material Design text field that comes in a box. [中文看这里](https://github.com/HITGIF/TextFieldBoxes/blob/master/README_CN.md)
13+
A new Material Design text field that comes in a box, based on Google Material design guidelines. [中文看这里](https://github.com/HITGIF/TextFieldBoxes/blob/master/README_CN.md)
1414

1515
<a href='https://ko-fi.com/A3343PAW' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi4.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
1616

@@ -34,7 +34,7 @@ allprojects {
3434
```
3535
```groovy
3636
dependencies {
37-
   compile 'com.github.HITGIF:TextFieldBoxes:1.0.0'
37+
   compile 'com.github.HITGIF:TextFieldBoxes:1.0.1'
3838
}
3939
```
4040

@@ -51,7 +51,7 @@ dependencies {
5151
<dependency>
5252
<groupId>com.github.HITGIF</groupId>
5353
<artifactId>TextFieldBoxes</artifactId>
54-
   <version>1.0.0</version>
54+
   <version>1.0.1</version>
5555
</dependency>
5656
```
5757

@@ -60,7 +60,7 @@ dependencies {
6060
resolvers += "jitpack" at "https://jitpack.io"
6161
```
6262
```scala
63-
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.0.0"
63+
libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.0.1"
6464
```
6565

6666

@@ -69,7 +69,7 @@ libraryDependencies += "com.github.HITGIF" % "TextFieldBoxes" % "1.0.0"
6969
:repositories [["jitpack" "https://jitpack.io"]]
7070
```
7171
```scala
72-
:dependencies [[com.github.hitgif/textfieldboxes "1.0.0"]]
72+
:dependencies [[com.github.hitgif/textfieldboxes "1.0.1"]]
7373
```
7474

7575
@@ -164,14 +164,17 @@ app:maxCharacters="5"
164164

165165
*Primary Color* will be used for the color of the underline and the hint text. You can use `app:primaryColor` in xml or `setPrimaryColor(int _colorRes)` in Java. Current theme `Primary Color` by default.
166166

167-
*Error Color* will be used for the color that indicates error (e.g. exceeding max characters, `setError()`). You can use `app:errorColor` in xml or `setErrorColor(int _colorRes)` in Java. `A400 red` ![#ff1744](https://placehold.it/15/ff1744/000000?text=+) by default.
167+
*Error Color* will be used for the color that indicates error (e.g. exceeding max characters, `setError()`). You can use `app:errorColor` in xml or `setErrorColor(int _colorRes)` in Java. `A400 red` by default.
168168

169-
*Helper Text Color* will be used for the color of the helper text. You can use `app:helperTextColor` in xml or `setHelperTextColor(int _colorRes)` in Java. `54% black` ![#757575](https://placehold.it/15/757575/000000?text=+) by default.
169+
*Helper Text Color* will be used for the color of the helper text. You can use `app:helperTextColor` in xml or `setHelperTextColor(int _colorRes)` in Java. `54% black` by default.
170+
171+
*Panel Background Color* will be used for the color of panel at the back. You can use `app:panelBackgroundColor` in xml or `setPanelBackgroundColor(int _colorRes)` in Java. `6% black` by default.
170172

171173
```xml
172-
app:primaryColor="#1B5E20" <!--Green-->
173-
app:errorColor="#ddaa00" <!--Yellow-->
174-
app:helperTextColor="#795548" <!--Brown-->
174+
app:primaryColor="#1B5E20" <!--Green-->
175+
app:errorColor="#ddaa00" <!--Yellow-->
176+
app:helperTextColor="#795548" <!--Brown-->
177+
app:panelBackgroundColor="#ffe8e8" <!--Pink-->
175178
```
176179

177180
![](/images/customColor1.png) ![](/images/customColor2.png)

0 commit comments

Comments
 (0)