Skip to content

Commit 7e7d043

Browse files
committed
Merge branch 'master' of github.com:Livin21/DroidAwesome
2 parents d70243f + b45fe58 commit 7e7d043

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

README.md

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# DroidAwesome
2+
Custom Views that support FontAwesome directly
3+
4+
## Views Supported: ##
5+
* TextView
6+
* AutoComplete TextView
7+
* EditText
8+
* Switch
9+
* CheckBox
10+
* Radio Button
11+
* Button
12+
* Toggle Button
13+
14+
## Screenshot ##
15+
![picture alt](https://lh4.googleusercontent.com/TN3y4ipqjTAHQJKV7Ok88uobRM1QZIthvYJqgA4BQ4g9I5DsPCMmgBE38nc8Y8SSsq5YdwUqrsztcgM=w971-h654-rw "Screenshot")
16+
17+
## Gradle Setup ##
18+
To be added soon
19+
20+
## Maven Setup ##
21+
To be added soon
22+
23+
## How to use it? ##
24+
1. Define required icons in res/values/icons.xml
25+
```
26+
<?xml version="1.0" encoding="utf-8"?>
27+
<resources>
28+
<string name="android_icon_font_awesome">&#xf17b;</string> // http://fontawesome.io/cheatsheet/
29+
</resources>
30+
```
31+
2. Now use custom view in activity.xml
32+
```
33+
<com.lmntrx.livin.library.droidawesome.DroidAwesomeAutoCompleteTextView
34+
android:layout_width="wrap_content"
35+
android:layout_height="wrap_content"
36+
android:textSize="65sp"
37+
android:textColor="#0f0"
38+
android:gravity="center"
39+
android:text="@string/android_icon_font_awesome"/>
40+
```
41+
42+
## ChangeLog ##
43+
### 1.0.0 ###
44+
* Added custom TextView
45+
* Added custom AutoComplete TextView
46+
* Added custom EditText
47+
* Added custom Button
48+
* Added custom ToggleButton
49+
* Added custom Switch
50+
* Added custom CheckBox
51+
* Added custom Radio Button
52+
53+
## Copyright ##
54+
```
55+
Copyright 2016 DroidAwesome - Livin Mathew
56+
57+
Licensed under the Apache License, Version 2.0 (the "License");
58+
you may not use this file except in compliance with the License.
59+
You may obtain a copy of the License at
60+
61+
http://www.apache.org/licenses/LICENSE-2.0
62+
63+
Unless required by applicable law or agreed to in writing, software
64+
distributed under the License is distributed on an "AS IS" BASIS,
65+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
66+
See the License for the specific language governing permissions and
67+
limitations under the License.
68+
```

0 commit comments

Comments
 (0)