mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-12-29 09:28:53 +01:00
199ca5cf03
The measurement function was wrong in some situations. Set a width for columns and properly configure the GridView.
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<style name="emojiTypeButton">
|
|
<item name="android:padding">1px</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:minHeight">18dp</item>
|
|
<item name="android:background">?attr/emoji_button_bg</item>
|
|
<item name="android:textColor">?attr/emoji_key_text</item>
|
|
<item name="android:textSize">18dp</item>
|
|
</style>
|
|
<style name="emojiKeyButton">
|
|
<item name="android:layout_width">0px</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:padding">0px</item>
|
|
<item name="android:background">?attr/emoji_key_bg</item>
|
|
<item name="android:textColor">?attr/emoji_key_text</item>
|
|
<item name="android:textSize">18dp</item>
|
|
</style>
|
|
<style name="emojiGridButton">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:textSize">@dimen/emoji_text_size</item>
|
|
<item name="android:textColor">?attr/emoji_color</item>
|
|
</style>
|
|
</resources>
|