Skip to content

Commit

Permalink
1.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rengwuxian committed Nov 13, 2014
1 parent 56e6196 commit fbf14bd
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion MaterialEditText.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,25 +46,25 @@ AppCompat v21 makes it easy to use Material Design EditText in our apps, but it'

## Sample

[MaterialEditText-1.3.0-sample.apk](https://github.com/rengwuxian/MaterialEditText/releases/download/1.3.0/MaterialEditText-1.3.0-sample.apk)
[MaterialEditText-1.3.1-sample.apk](https://github.com/rengwuxian/MaterialEditText/releases/download/1.3.1/MaterialEditText-1.3.1-sample.apk)

## Download

Eclipse:
[MaterialEditText-1.3.0.aar](https://github.com/rengwuxian/MaterialEditText/releases/download/1.3.0/MaterialEditText-1.3.0.aar)
[MaterialEditText-1.3.1.aar](https://github.com/rengwuxian/MaterialEditText/releases/download/1.3.1/MaterialEditText-1.3.1.aar)

gradle:

```groovy
compile 'com.rengwuxian.materialedittext:library:1.3.0'
compile 'com.rengwuxian.materialedittext:library:1.3.1'
```

Maven:
```xml
<dependency>
<groupId>com.rengwuxian.materialedittext</groupId>
<artifactId>library</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
<type>aar</type>
</dependency>
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.14.0'
classpath 'com.android.tools.build:gradle:0.14.1'
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=1.3.0
VERSION_CODE=12
VERSION_NAME=1.3.1
VERSION_CODE=14
GROUP=com.rengwuxian.materialedittext

POM_DESCRIPTION=Android EditText in Material Design
Expand Down
2 changes: 1 addition & 1 deletion library/library.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ protected void onDraw(@NonNull Canvas canvas) {
paint.setTextSize(floatingLabelTextSize);

// draw the background
float lineStartY = getHeight() - getPaddingBottom() + innerComponentsSpacing;
float lineStartY = getScrollY() + getHeight() - getPaddingBottom() + innerComponentsSpacing;
if (!isEnabled()) { // disabled
paint.setColor(baseColor & 0x00ffffff | 0x44000000);
float interval = getPixel(1);
Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.0'
compile 'com.rengwuxian.materialedittext:library:1.3.0'
compile 'com.rengwuxian.materialedittext:library:1.3.1'
// compile project(':library')
}
4 changes: 2 additions & 2 deletions sample/sample.iml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.0" type="JAVA_MODULE" version="4">
<module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="com.rengwuxian.materialedittext" external.system.module.version="1.3.1" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android-gradle" name="Android-Gradle">
<configuration>
Expand Down Expand Up @@ -85,8 +85,8 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="support-annotations-21.0.0" level="project" />
<orderEntry type="library" exported="" name="support-v4-21.0.0" level="project" />
<orderEntry type="library" exported="" name="library-1.3.0" level="project" />
<orderEntry type="library" exported="" name="library-2.4.0" level="project" />
<orderEntry type="library" exported="" name="library-1.3.1" level="project" />
<orderEntry type="library" exported="" name="appcompat-v7-21.0.0" level="project" />
</component>
</module>
Expand Down
1 change: 1 addition & 0 deletions sample/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Max Characters"
android:lines="4"
app:maxCharacters="10"/>

<TextView
Expand Down

0 comments on commit fbf14bd

Please sign in to comment.