added sample image
This commit is contained in:
parent
caf5dee648
commit
d4a98a3c17
3 changed files with 18 additions and 14 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
Whatsapp like implementation for emjoicons which appear as a popup over the soft keyboard
|
Whatsapp like implementation for emjoicons which appear as a popup over the soft keyboard
|
||||||
|
|
||||||
|
![Screenshot](/sample.png?raw=true)
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,25 +13,27 @@
|
||||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
~ See the License for the specific language governing permissions and
|
~ See the License for the specific language governing permissions and
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<declare-styleable name="Emojicon">
|
<declare-styleable name="Emojicon">
|
||||||
<attr name="emojiconSize" format="dimension"/>
|
<attr name="emojiconSize" format="dimension" />
|
||||||
<attr name="emojiconTextStart" format="integer"/>
|
<attr name="emojiconTextStart" format="integer" />
|
||||||
<attr name="emojiconTextLength" format="integer"/>
|
<attr name="emojiconTextLength" format="integer" />
|
||||||
</declare-styleable>
|
</declare-styleable>
|
||||||
|
|
||||||
<dimen name="keyboard_height">250dp</dimen>
|
<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 -->
|
<!-- No backgrounds, titles or window float -->
|
||||||
<item name="android:windowFrame">@null</item>
|
<item name="android:windowFrame">@null</item>
|
||||||
<item name="android:windowBackground">@drawable/popup_bg</item>
|
<item name="android:windowBackground">@drawable/popup_bg</item>
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<item name="android:windowIsFloating">false</item>
|
<item name="android:windowIsFloating">false</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</style>
|
</resources>
|
||||||
</resources>
|
|
BIN
sample.png
Normal file
BIN
sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
Loading…
Reference in a new issue