aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnkush Sachdeva <sankush@iitk.ac.in>2014-09-15 06:44:44 +0530
committerAnkush Sachdeva <sankush@iitk.ac.in>2014-09-15 06:44:44 +0530
commitd4a98a3c1717790acc59b6fa571197844e7e325c (patch)
tree4e35cdc7f2658777cad73be4dd55282bed9d774c
parentcaf5dee6485d4c2bc8ca20b49335516b5065c751 (diff)
added sample image
-rw-r--r--README.md2
-rw-r--r--res/values/attrs.xml30
-rw-r--r--sample.pngbin0 -> 75984 bytes
3 files changed, 18 insertions, 14 deletions
diff --git a/README.md b/README.md
index 4fac630..0e3f004 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@
Whatsapp like implementation for emjoicons which appear as a popup over the soft keyboard
+![Screenshot](/sample.png?raw=true)
+
## Example
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 445e3b6..ba33d71 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -13,25 +13,27 @@
~ 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.
- -->
+-->
<resources>
+
<declare-styleable name="Emojicon">
- <attr name="emojiconSize" format="dimension"/>
- <attr name="emojiconTextStart" format="integer"/>
- <attr name="emojiconTextLength" format="integer"/>
+ <attr name="emojiconSize" format="dimension" />
+ <attr name="emojiconTextStart" format="integer" />
+ <attr name="emojiconTextLength" format="integer" />
</declare-styleable>
+
<dimen name="keyboard_height">250dp</dimen>
- <style name="emojiDialog" parent="@android:style/Theme.Dialog" >
- <item name="android:layout_width">fill_parent</item>
- <item name="android:layout_height">fill_parent</item>
+ <style name="emojiDialog" parent="@android:style/Theme.Dialog">
+ <item name="android:layout_width">fill_parent</item>
+ <item name="android:layout_height">fill_parent</item>
- <!-- No backgrounds, titles or window float -->
- <item name="android:windowFrame">@null</item>
- <item name="android:windowBackground">@drawable/popup_bg</item>
- <item name="android:windowNoTitle">true</item>
- <item name="android:windowIsFloating">false</item>
+ <!-- No backgrounds, titles or window float -->
+ <item name="android:windowFrame">@null</item>
+ <item name="android:windowBackground">@drawable/popup_bg</item>
+ <item name="android:windowNoTitle">true</item>
+ <item name="android:windowIsFloating">false</item>
+ </style>
-</style>
-</resources>
+</resources> \ No newline at end of file
diff --git a/sample.png b/sample.png
new file mode 100644
index 0000000..a3ab5f8
--- /dev/null
+++ b/sample.png
Binary files differ