Skip to content

Commit f533478

Browse files
committed
Release v1.1.9
1 parent c9b9238 commit f533478

4 files changed

Lines changed: 12 additions & 22 deletions

File tree

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A library to display FontAwesome Icons in any View or a MenuItem
2424
Add the following code snippet to module/build.gradle
2525
```gradle
2626
dependencies {
27-
compile 'com.lmntrx.livin.library.droidawesome:droid-awesome:1.1.8'
27+
compile 'com.lmntrx.livin.library.droidawesome:droid-awesome:1.1.9'
2828
}
2929
```
3030

@@ -34,7 +34,7 @@ dependencies {
3434
<dependency>
3535
<groupId>com.lmntrx.livin.library.droidawesome</groupId>
3636
<artifactId>droid-awesome</artifactId>
37-
<version>1.1.8</version>
37+
<version>1.1.9</version>
3838
<type>pom</type>
3939
</dependency>
4040
```
@@ -51,6 +51,7 @@ dependencies {
5151
```
5252
### Now use custom view in activity.xml ###
5353
```xml
54+
<!-- Icons do not render in android studio render sandbox. Run project in an emulator to see changes -->
5455
<com.lmntrx.livin.library.droidawesome.DroidAwesomeAutoCompleteTextView
5556
android:layout_width="wrap_content"
5657
android:layout_height="wrap_content"
@@ -123,15 +124,13 @@ public boolean onCreateOptionsMenu(Menu menu) {
123124
return true;
124125
}
125126
```
126-
*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/*
127-
*You can change font file name as follows:*
128-
```java
129-
DroidAwesome.setFontFileName("my-font.ttf");
130-
```
131-
*Set font filename in onCreate() of your activity file*
132127

133128
## ChangeLog ##
134129

130+
### 1.1.9 ###
131+
* Removed use of font file from assets
132+
* Removed setFontFile() method
133+
135134
### 1.1.8 ###
136135
* Minor Bug Fixes
137136

@@ -197,4 +196,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
197196
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198197
See the License for the specific language governing permissions and
199198
limitations under the License.
200-
```
199+
```

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
buildToolsVersion "25.0.2"
66
defaultConfig {
77
applicationId "com.lmntrx.livin.droidawesome"
8-
minSdkVersion 16
8+
minSdkVersion 15
99
targetSdkVersion 25
1010
versionCode 1
1111
versionName "1.0"

droid-awesome/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ android {
99
minSdkVersion 15
1010
targetSdkVersion 25
1111
versionCode 1
12-
versionName "1.1.8"
12+
versionName "1.1.9"
1313

1414
}
1515

1616
lintOptions {
1717
abortOnError false
1818
}
1919

20+
2021
buildTypes {
2122
release {
2223
minifyEnabled false
@@ -31,7 +32,7 @@ publish {
3132
groupId = 'com.lmntrx.livin.library.droidawesome'
3233
repoName = 'DroidAwesome'
3334
artifactId = 'droid-awesome'
34-
publishVersion = '1.1.8'
35+
publishVersion = '1.1.9'
3536
desc = 'A library to display FontAwesome Icons in any View or a MenuItem'
3637
website = 'https://github.com/Livin21/DroidAwesome'
3738
}

droid-awesome/src/main/java/com/lmntrx/livin/library/droidawesome/DroidAwesome.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -295,14 +295,4 @@ public SpannableStringBuilder build(){
295295

296296
}
297297

298-
/*
299-
*//**
300-
* @param name new filename for font file
301-
*//*
302-
*//* Change font file name *//*
303-
public static void setFontFileName(String name){
304-
FontAwesome.FILE_NAME = name;
305-
}*/
306-
307-
308298
}

0 commit comments

Comments
 (0)