mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-22 07:13:13 +01:00
A bit of style
This commit is contained in:
parent
16763a5f1b
commit
8fbe456074
@ -1,11 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<item name="bg" type="color">#191919</item>
|
||||
<item name="key_bg" type="color">#282828</item>
|
||||
<item name="bg" type="color">#151515</item>
|
||||
<item name="key_bg" type="color">#303030</item>
|
||||
<item name="key_down_bg" type="color">#1B1B1B</item>
|
||||
<item name="key_label" type="color">#DDDDDD</item>
|
||||
<item name="key_label" type="color">#FFFFFF</item>
|
||||
<item name="key_label_locked" type="color">#229933</item>
|
||||
<item name="key_sub_label" type="color">#BDBDBD</item>
|
||||
<item name="key_sub_label" type="color">#A0A0A0</item>
|
||||
<item name="preview_text" type="color">#FFFFFF</item>
|
||||
<item name="preview_bg" type="color">#202020</item>
|
||||
<item name="preview_stroke" type="color">#1B1B1B</item>
|
||||
<item name="emoji_button_bg" type="color">#202020</item>
|
||||
<item name="emoji_color" type="color">#FFFFFF</item>
|
||||
<item name="emoji_key_bg" type="color">@color/emoji_button_bg</item>
|
||||
|
@ -3,12 +3,17 @@
|
||||
<dimen name="horizontal_margin">3dp</dimen>
|
||||
<dimen name="margin_top">2dp</dimen>
|
||||
<dimen name="margin_bottom">5dp</dimen>
|
||||
<dimen name="key_padding">1dp</dimen>
|
||||
<dimen name="key_bg_padding">1dp</dimen>
|
||||
<dimen name="key_padding">2dp</dimen>
|
||||
<dimen name="key_bg_padding">1.4dp</dimen>
|
||||
<dimen name="key_height">50dp</dimen>
|
||||
<dimen name="key_round">4dp</dimen>
|
||||
<dimen name="label_text_size">16dp</dimen>
|
||||
<dimen name="sublabel_text_size">10dp</dimen>
|
||||
<dimen name="preview_text">18dp</dimen>
|
||||
<dimen name="preview_corners">6dp</dimen>
|
||||
<dimen name="preview_stroke">1dp</dimen>
|
||||
<dimen name="preview_margin">4dp</dimen>
|
||||
<dimen name="preview_padding">8dp</dimen>
|
||||
<dimen name="emoji_type_button_height">56dp</dimen>
|
||||
<dimen name="emoji_grid_height">250dp</dimen>
|
||||
</resources>
|
||||
|
@ -41,6 +41,8 @@ public class Keyboard2View extends View
|
||||
|
||||
/*
|
||||
** TODO: move config values in a Config object
|
||||
** TODO: settings: preview_enabled
|
||||
** TODO: settings: preview_text_size
|
||||
*/
|
||||
private float _marginTop;
|
||||
private float _keyWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user