Skip to content

Commit

Permalink
Release v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Livin21 committed Jan 17, 2017
1 parent c9b9238 commit f533478
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 22 deletions.
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ A library to display FontAwesome Icons in any View or a MenuItem
Add the following code snippet to module/build.gradle
```gradle
dependencies {
compile 'com.lmntrx.livin.library.droidawesome:droid-awesome:1.1.8'
compile 'com.lmntrx.livin.library.droidawesome:droid-awesome:1.1.9'
}
```

Expand All @@ -34,7 +34,7 @@ dependencies {
<dependency>
<groupId>com.lmntrx.livin.library.droidawesome</groupId>
<artifactId>droid-awesome</artifactId>
<version>1.1.8</version>
<version>1.1.9</version>
<type>pom</type>
</dependency>
```
Expand All @@ -51,6 +51,7 @@ dependencies {
```
### Now use custom view in activity.xml ###
```xml
<!-- Icons do not render in android studio render sandbox. Run project in an emulator to see changes -->
<com.lmntrx.livin.library.droidawesome.DroidAwesomeAutoCompleteTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down Expand Up @@ -123,15 +124,13 @@ public boolean onCreateOptionsMenu(Menu menu) {
return true;
}
```
*Tip: For smooth rendering in android studio one might have to include [font-awesome.ttf](https://github.com/Livin21/DroidAwesome/blob/master/droid-awesome/src/main/assets/fonts/font-awesome.ttf?raw=true) in assets/fonts/*
*You can change font file name as follows:*
```java
DroidAwesome.setFontFileName("my-font.ttf");
```
*Set font filename in onCreate() of your activity file*

## ChangeLog ##

### 1.1.9 ###
* Removed use of font file from assets
* Removed setFontFile() method

### 1.1.8 ###
* Minor Bug Fixes

Expand Down Expand Up @@ -197,4 +196,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
```
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android {
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.lmntrx.livin.droidawesome"
minSdkVersion 16
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
Expand Down
5 changes: 3 additions & 2 deletions droid-awesome/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ android {
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.1.8"
versionName "1.1.9"

}

lintOptions {
abortOnError false
}


buildTypes {
release {
minifyEnabled false
Expand All @@ -31,7 +32,7 @@ publish {
groupId = 'com.lmntrx.livin.library.droidawesome'
repoName = 'DroidAwesome'
artifactId = 'droid-awesome'
publishVersion = '1.1.8'
publishVersion = '1.1.9'
desc = 'A library to display FontAwesome Icons in any View or a MenuItem'
website = 'https://github.com/Livin21/DroidAwesome'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,4 @@ public SpannableStringBuilder build(){

}

/*
*//**
* @param name new filename for font file
*//*
*//* Change font file name *//*
public static void setFontFileName(String name){
FontAwesome.FILE_NAME = name;
}*/


}

0 comments on commit f533478

Please sign in to comment.