added sample image

This commit is contained in:
Ankush Sachdeva 2014-09-15 06:44:44 +05:30
parent caf5dee648
commit d4a98a3c17
3 changed files with 18 additions and 14 deletions

View file

@ -2,6 +2,8 @@
Whatsapp like implementation for emjoicons which appear as a popup over the soft keyboard
![Screenshot](/sample.png?raw=true)
## Example

View file

@ -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>

BIN
sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB